svn commit: r188380 - head/sys/net80211
Weongyo Jeong
weongyo at FreeBSD.org
Sun Feb 8 20:39:17 PST 2009
Author: weongyo
Date: Mon Feb 9 04:39:16 2009
New Revision: 188380
URL: http://svn.freebsd.org/changeset/base/188380
Log:
mark M_LASTFRAG at the last fragment.
Reviewed by: sam
MFC after: 3 weeks
Modified:
head/sys/net80211/ieee80211_output.c
Modified: head/sys/net80211/ieee80211_output.c
==============================================================================
--- head/sys/net80211/ieee80211_output.c Mon Feb 9 04:02:53 2009 (r188379)
+++ head/sys/net80211/ieee80211_output.c Mon Feb 9 04:39:16 2009 (r188380)
@@ -1376,6 +1376,9 @@ ieee80211_fragment(struct ieee80211vap *
remainder -= payload;
off += payload;
} while (remainder != 0);
+
+ /* set the last fragment */
+ m->m_flags |= M_LASTFRAG;
whf->i_fc[1] &= ~IEEE80211_FC1_MORE_FRAG;
/* strip first mbuf now that everything has been copied */
More information about the svn-src-all
mailing list