HomeFreeBSD

oce: Fix handling of m_pullup() errors in oce_tso_setup()

Description

oce: Fix handling of m_pullup() errors in oce_tso_setup()

m_pullup() frees the input mbuf chain upon a failure. Set *mpp to NULL
in this case to ensure that the caller does not free the chain again.

PR: 255864
Submitted by: Lv Yunlong <lylgood@foxmail.com> (original version)
MFC after: 1 week

(cherry picked from commit 71776d67198fadd7d96937c9bdd22063636b132b)

Details

Provenance
markjAuthored on May 26 2021, 1:49 PM
Parents
rG78b147467ea5: acpi: Add missing error handling to acpi_pci_link_route_irqs()
Branches
Unknown
Tags
Unknown