Searched hist:"79 e0962d4c3cf1f0acf359a9d69cb3ac68c414c4" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net80211/ |
H A D | ieee80211_crypto.c | diff 79e0962d4c3cf1f0acf359a9d69cb3ac68c414c4 Sat Jan 19 17:04:26 CET 2019 Andriy Voskoboinyk <avos@FreeBSD.org> 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 MFC after: 1 week
|