svn commit: r254261 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Mon Aug 12 22:27:53 UTC 2013


Author: adrian
Date: Mon Aug 12 22:27:53 2013
New Revision: 254261
URL: http://svnweb.freebsd.org/changeset/base/254261

Log:
  Blank m_nextpkt before passing it up.

Modified:
  head/sys/net80211/ieee80211_power.c

Modified: head/sys/net80211/ieee80211_power.c
==============================================================================
--- head/sys/net80211/ieee80211_power.c	Mon Aug 12 21:34:48 2013	(r254260)
+++ head/sys/net80211/ieee80211_power.c	Mon Aug 12 22:27:53 2013	(r254261)
@@ -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);


More information about the svn-src-head mailing list