projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f0a2698
)
if: Free subqueue memory upon if_detach
author
Sepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 13 Jan 2013 04:24:11 +0000 (12:24 +0800)
committer
Sepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 13 Jan 2013 04:24:11 +0000 (12:24 +0800)
sys/net/if.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/net/if.c
b/sys/net/if.c
index
be9da89
..
f20b1c0
100644
(file)
--- a/
sys/net/if.c
+++ b/
sys/net/if.c
@@
-854,6
+854,8
@@
if_detach(struct ifnet *ifp)
kfree(ifsq->ifsq_ifstart_nmsg, M_LWKTMSG);
kfree(ifsq->ifsq_stage, M_DEVBUF);
}
+ kfree(ifp->if_snd.altq_subq, M_DEVBUF);
+
crit_exit();
}