]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r343190:
authoravos <avos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 26 Jan 2019 12:41:16 +0000 (12:41 +0000)
committeravos <avos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 26 Jan 2019 12:41:16 +0000 (12:41 +0000)
commit0cf686e667f6542656334167eabe059200eb3f7f
tree2a63a010cbe88ae417408251beb55afbe3833751
parent63dfcfbebc3abb4a0054ef1bcff192afa634b84a
MFC r343190:
net80211: drop m_pullup call from ieee80211_crypto_decap.

For most wireless drivers Rx mbuf is allocated as one
contiguous chunk; only few are using chains for allocations -
but even then at least MCLBYTES (minus Rx descriptor size) is
available in the first mbuf.

In addition to the above, m_pullup was never called here - otherwise,
reallocation will break post-crypto_decap logic (ieee80211_decap,
ieee80211_deliver_data...), so just remove it; length check is left
in case if some truncated frame appears here.

PR: 234241

git-svn-id: svn://svn.freebsd.org/base/stable/10@343465 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net80211/ieee80211_crypto.c