summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-02-13 05:26:04 +0000
committersam <sam@FreeBSD.org>2009-02-13 05:26:04 +0000
commitc96b4defecc6bf3b3e7db71fd993ab972c43bd17 (patch)
tree03b84bf29f1b54b0949e644748174e91315eeae7 /sys
parentee4191ddcf59ded6553c22b9d685bc26ee32cdca (diff)
downloadFreeBSD-src-c96b4defecc6bf3b3e7db71fd993ab972c43bd17.zip
FreeBSD-src-c96b4defecc6bf3b3e7db71fd993ab972c43bd17.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/net80211/ieee80211_freebsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_freebsd.h b/sys/net80211/ieee80211_freebsd.h
index aac997a..065d45c 100644
--- a/sys/net80211/ieee80211_freebsd.h
+++ b/sys/net80211/ieee80211_freebsd.h
@@ -221,7 +221,8 @@ struct mbuf *ieee80211_getmgtframe(uint8_t **frm, int headroom, int pktlen);
#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 */
OpenPOWER on IntegriCloud