HomeFreeBSD

net80211: separate mbuf cleanup from ieee80211_fragment()

Description

net80211: separate mbuf cleanup from ieee80211_fragment()

  • Create ieee80211_free_mbuf() which frees a list of mbufs.
  • Use it in the fragment transmit path and ath / uath transmit paths.
  • Call it in xmit_pkt() if the transmission fails; otherwise fragments may be leaked.

This should be a big no-op.

Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3769

Details

Provenance
adrianAuthored on
Differential Revision
D3769: net80211: separate mbuf cleanup from ieee80211_fragment()
Parents
rS289161: MFC r289030:
Branches
Unknown
Tags
Unknown