Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2013 22:27:53 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254261 - head/sys/net80211
Message-ID:  <201308122227.r7CMRrmd011174@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308122227.r7CMRrmd011174>