svn commit: r188554 - head/sys/net80211

Sam Leffler sam at FreeBSD.org
Thu Feb 12 21:26:06 PST 2009


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 */


More information about the svn-src-head mailing list