diff options
author | Zhenlei Huang <zlei@FreeBSD.org> | 2025-09-01 10:14:22 +0000 |
---|---|---|
committer | Zhenlei Huang <zlei@FreeBSD.org> | 2025-09-01 10:14:22 +0000 |
commit | 9764aa1ccad08a7ec53ed9b80741b9553f3fa4e6 (patch) | |
tree | 5305226339c5782892254d9066223308b6c480ce /contrib/llvm-project/compiler-rt/lib/dfsan | |
parent | b944c8ff17971b1c8f61d5612eac146f5d589e87 (diff) |
and fix assigning IP addresses to the gif(4) interface when it is a
member of a if_bridge(4) interface.
When setting the sysctl net.link.bridge.member_ifaddrs to 1, if_bridge(4)
can eliminate unnecessary walk of the member list to determine whether
the inbound unicast packets are for us or not.
Well when a gif(4) interface is member of a if_bridge(4) interface, it
acts as the tunnel endpoint to tunnel Ethernet frames over IP network,
aka the EtherIP protocol, so the IP addresses configured on it are
independent of the if_bridge(4) interface or other if_bridge(4) members,
hence the sysctl net.link.bridge.member_ifaddrs should not have any
influnce over gif(4) interfaces's behavior of assigning IP addresses.
PR: 227450
Reported by: Siva Mahadevan <me@svmhdvn.name>
Reviewed by: ivy, #bridge
MFC after: 1 week
Fixes: 0a1294f6c610 bridge: allow IP addresses on members to be disabled
Differential Revision: https://reviews.freebsd.org/D52200
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/dfsan')
0 files changed, 0 insertions, 0 deletions