HomeFreeBSD

iflib: fix regression with new pfil(9) KPI

Description

iflib: fix regression with new pfil(9) KPI

Do not pass the pointer to our valid mbuf to pfil(9). Pass an
uninitialized one only. This was unsafe with the old KPI, too,
but for some reason didn't fail.

Fixes: caf32b260ad46b17a4c1a8ce6383e37ac489f023

Details

Provenance
glebiusAuthored on Feb 28 2023, 4:56 PM
Parents
rGce95864fbad8: rc.conf(5): Style issues
Branches
Unknown
Tags
Unknown