summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-08-12 22:27:53 +0000
committeradrian <adrian@FreeBSD.org>2013-08-12 22:27:53 +0000
commita2aef273685605f46048119618c225d88ecbab86 (patch)
tree5aa09b2ae286ed9df334525552d1498bda1e16d7 /sys/net80211
parent0b111bdfcbe8e9c5f1d30ef4226b1250231c8716 (diff)
downloadFreeBSD-src-a2aef273685605f46048119618c225d88ecbab86.zip
FreeBSD-src-a2aef273685605f46048119618c225d88ecbab86.tar.gz
Blank m_nextpkt before passing it up.
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c
index c05c1be..4542ec5 100644
--- a/sys/net80211/ieee80211_power.c
+++ b/sys/net80211/ieee80211_power.c
@@ -475,6 +475,7 @@ pwrsave_flushq(struct ieee80211_node *ni)
while (ifp_q != NULL) {
m = ifp_q;
ifp_q = m->m_nextpkt;
+ m->m_nextpkt = NULL;
KASSERT((!(m->m_flags & M_ENCAP)),
("%s: vapq with M_ENCAP frame!\n", __func__));
(void) ieee80211_vap_xmitpkt(vap, m);
OpenPOWER on IntegriCloud