HomeFreeBSD

Fix potential data corruption in iflib

Description

Fix potential data corruption in iflib

The MP ring may have txq pointers enqueued. Previously, these were
passed to m_free() when IFC_QFLUSH was set. This patch checks for
the value and doesn't call m_free().

Reviewed by: gallatin
Approved by: re (gjb)
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D16882

Details

Provenance
shurdAuthored on
Reviewer
gallatin
Differential Revision
D16882: Handle case where mbuf == &txq when IFC_QFLUSH is set
Parents
rS338371: arm64: GENERIC-MMCCAM: Fix build and module depend
Branches
Unknown
Tags
Unknown