Date: Mon, 9 Feb 2009 04:39:16 +0000 (UTC) From: Weongyo Jeong <weongyo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188380 - head/sys/net80211 Message-ID: <200902090439.n194dGSK045564@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902090439.n194dGSK045564>