Date: Wed, 23 Nov 2005 22:46:41 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 87157 for review Message-ID: <200511232246.jANMkf5c004089@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=87157 Change 87157 by sam@sam_ebb on 2005/11/23 22:45:50 clear frag flags passed down from above; they must only be set on return from ieee80211_encap if the packet has been fragmented by the 802.11 layer Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_output.c#57 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_output.c#57 (text+ko) ==== @@ -694,6 +694,12 @@ } } } + /* + * NB: frag flags may leak from above; they should only + * be set on return to the caller if we fragment at + * the 802.11 layer. + */ + m->m_flags &= ~(M_FRAG | M_FIRSTFRAG); if (txfrag && !ieee80211_fragment(ic, m, hdrsize, key != NULL ? key->wk_cipher->ic_header : 0, ic->ic_fragthreshold)) goto bad;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511232246.jANMkf5c004089>