HomeFreeBSD

if_epair: also remove vlan metadata from mbufs

Description

if_epair: also remove vlan metadata from mbufs

We already remove mbuf tags from packets transitting an if_epair, but we
didn't remove vlan metadata.
In certain configurations this could lead to unexpected vlan tags
turning up on the rx side.

PR: 270736
Reviewed by: markj
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D39482

(cherry picked from commit c69ae8419734829404bdb47d694d105c85f9835e)

Details

Provenance
kpAuthored on Apr 10 2023, 11:02 AM
Reviewer
markj
Differential Revision
D39482: if_epair: also remove vlan metadata from packets
Parents
rG0b5e6fa6cdc1: arm: Remove a double word in a comment in setjmp
Branches
Unknown
Tags
Unknown