HomeFreeBSD

LinuxKPI: 802.11: deal with the error paths for lkpi_xmit()

Description

LinuxKPI: 802.11: deal with the error paths for lkpi_xmit()

Rename lkpi_ic_raw_xmit() to lkpi_xmit() as we need a wrapper to add
an extra argument as (*ic_raw_xmit) and (*ic_transmit) have different
invariants. Based on the caller free the mbuf in the error case or
not to satisfy the requirements of the caller. For more information
see the comment in the code.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
bzAuthored on Apr 13 2025, 4:59 PM
Parents
rGc816f64e66a0: LinuxKPI: 802.11: plug mbuf leak
Branches
Unknown
Tags
Unknown