diff options
author | adrian <adrian@FreeBSD.org> | 2013-08-12 02:21:44 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-08-12 02:21:44 +0000 |
commit | fea1a66936c450cdf352c0690dde9fd5cee11636 (patch) | |
tree | 5dc907ae5b2446ba72847b8cb7e8e6736e53704b /sys/net80211 | |
parent | e6cb6b38c2b6978f72d6b9754f39edbdd9923cf8 (diff) | |
download | FreeBSD-src-fea1a66936c450cdf352c0690dde9fd5cee11636.zip FreeBSD-src-fea1a66936c450cdf352c0690dde9fd5cee11636.tar.gz |
When flushing packets from the powersave queue, make sure that
m_nextpkt is NULL before passing it up to the parent transmit
method.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_power.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c index d14d8f4..c05c1be 100644 --- a/sys/net80211/ieee80211_power.c +++ b/sys/net80211/ieee80211_power.c @@ -456,6 +456,7 @@ pwrsave_flushq(struct ieee80211_node *ni) while (parent_q != NULL) { m = parent_q; parent_q = m->m_nextpkt; + m->m_nextpkt = NULL; /* must be encapsulated */ KASSERT((m->m_flags & M_ENCAP), ("%s: parentq with non-M_ENCAP frame!\n", |