diff options
author | Lexi Winter <ivy@FreeBSD.org> | 2025-06-04 06:05:12 +0000 |
---|---|---|
committer | Lexi Winter <ivy@FreeBSD.org> | 2025-06-04 06:05:12 +0000 |
commit | a5fe142e08447c7116b89159c110d02e860ac6a1 (patch) | |
tree | 32ef2f9f6f72e354e3f0b67d3f204d76638a7acd /release/picobsd/dial/floppy.tree/(public-mirror) | |
parent | 0ddc223c6d526d19c338ed2af0820a998cbcb93e (diff) |
If an interface is a bridge member, and a vlan(4) is also created on
that interface, and net.link.bridge.member_ifaddrs=0, then vlan(4)
will never see any incoming frames because bridge doesn't pass them
to the host for processing.
Work around this by checking for locally-addressed frames using the
MAC address of the interface we received the frame on, but only if
the frame has a .1q tag and there's a vlan trunk on the interface.
This behaviour is almost certainly "wrong" and it's not clear if we
really want to support this, but it did work in the past and the
member_ifaddrs change was not supposed to break it, so this restores
the previous behaviour.
PR: 287150
MFC after: 1 week
Reviewed by: kevans, des
Approved by: kevans (mentor), des (mentor)
Differential Revision: https://reviews.freebsd.org/D50623
Diffstat (limited to 'release/picobsd/dial/floppy.tree/(public-mirror)')
0 files changed, 0 insertions, 0 deletions