HomeFreeBSD

ether_demux: Defer stripping the Ethernet header.

Description

ether_demux: Defer stripping the Ethernet header.

This avoids having to undo it before invoking NetGraph's orphan input
hook.

Reviewed by: ae, melifaro
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D37510

(cherry picked from commit 79b679942352a7f10d759fdee1892aa251e0f439)

Details

Provenance
jhbAuthored on Nov 30 2022, 10:38 PM
Reviewer
ae
Differential Revision
D37510: ether_demux: Defer stripping the Ethernet header.
Parents
rG5771c3bd1df8: systat: Fix a bunch of use after frees in fetch_ifstat().
Branches
Unknown
Tags
Unknown