svn commit: r254236 - head/sys/net80211
Adrian Chadd
adrian at FreeBSD.org
Mon Aug 12 02:21:45 UTC 2013
Author: adrian
Date: Mon Aug 12 02:21:44 2013
New Revision: 254236
URL: http://svnweb.freebsd.org/changeset/base/254236
Log:
When flushing packets from the powersave queue, make sure that
m_nextpkt is NULL before passing it up to the parent transmit
method.
Modified:
head/sys/net80211/ieee80211_power.c
Modified: head/sys/net80211/ieee80211_power.c
==============================================================================
--- head/sys/net80211/ieee80211_power.c Mon Aug 12 01:21:14 2013 (r254235)
+++ head/sys/net80211/ieee80211_power.c Mon Aug 12 02:21:44 2013 (r254236)
@@ -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",
More information about the svn-src-head
mailing list