HomeFreeBSD

net80211: replace m_getcl/m_gethdr pair with m_get2 in ieee80211_fragment()

Description

net80211: replace m_getcl/m_gethdr pair with m_get2 in ieee80211_fragment()

  • Switch to m_get2() for mbuf allocation instead of manual mbuf size

determination.

  • Reuse MIN() macro for mbuf size selection.

Details

Provenance
avosAuthored on
Parents
rS300910: net80211: fix use-after-free in frame defragmentation procedure.
Branches
Unknown
Tags
Unknown