Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2009 05:26:04 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188554 - head/sys/net80211
Message-ID:  <200902130526.n1D5Q4Aq077137@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Fri Feb 13 05:26:04 2009
New Revision: 188554
URL: http://svn.freebsd.org/changeset/base/188554

Log:
  strip M_FRAG & co mbufs coming down from ip_output, these flags are
  re-used within net80211 to mark 802.11 frags so allowing them to
  leak through to the driver caused packets to be dropped in ath

Modified:
  head/sys/net80211/ieee80211_freebsd.h

Modified: head/sys/net80211/ieee80211_freebsd.h
==============================================================================
--- head/sys/net80211/ieee80211_freebsd.h	Fri Feb 13 03:38:08 2009	(r188553)
+++ head/sys/net80211/ieee80211_freebsd.h	Fri Feb 13 05:26:04 2009	(r188554)
@@ -221,7 +221,8 @@ struct mbuf *ieee80211_getmgtframe(uint8
 #define	M_TXCB		M_PROTO7		/* do tx complete callback */
 #define	M_AMPDU_MPDU	M_PROTO8		/* ok for A-MPDU aggregation */
 #define	M_80211_TX \
-	(M_ENCAP|M_WDS|M_EAPOL|M_PWR_SAV|M_MORE_DATA|M_FF|M_TXCB|M_AMPDU_MPDU)
+	(M_FRAG|M_FIRSTFRAG|M_LASTFRAG|M_ENCAP|M_WDS|M_EAPOL|M_PWR_SAV|\
+	 M_MORE_DATA|M_FF|M_TXCB|M_AMPDU_MPDU)
 
 /* rx path usage */
 #define	M_AMPDU		M_PROTO1		/* A-MPDU subframe */



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