Date: Mon, 8 Jan 2007 18:23:43 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net80211 ieee80211_freebsd.c ieee80211_freebsd.h ieee80211_proto.c Message-ID: <200701081823.l08INhS0050616@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2007-01-08 18:23:43 UTC
FreeBSD src repository
Modified files:
sys/net80211 ieee80211_freebsd.c ieee80211_freebsd.h
ieee80211_proto.c
Log:
Fix potential node refcnt leak. If mbufs are q'd on ic_mgtq when
the state machine clocks to INIT, node references are not reclaimed.
Add a new routine ieee80211_drain_ifq that does this and use it
instead of IF_DRAIN.
Submitted by: Sepherosa Ziehau
Obtained from: DragonFly
MFC after: 1 month
Revision Changes Path
1.13 +20 -0 src/sys/net80211/ieee80211_freebsd.c
1.8 +2 -0 src/sys/net80211/ieee80211_freebsd.h
1.34 +9 -7 src/sys/net80211/ieee80211_proto.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701081823.l08INhS0050616>
