mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
mark M_LASTFRAG at the last fragment.
Reviewed by: sam MFC after: 3 weeks
This commit is contained in:
parent
5d68db5bc8
commit
51cec12145
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188380
|
@ -1376,6 +1376,9 @@ ieee80211_fragment(struct ieee80211vap *vap, struct mbuf *m0,
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue