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: 224928
Submitted by: Lv Yunlong <lylgood@foxmail.com> (original version)
MFC after: 1 week

Details

Provenance
markjAuthored on May 26 2021, 1:49 PM
Parents
rGd62e1ecba07b: tests/libalias: Add port forwardings
Branches
Unknown
Tags
Unknown