aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenPGO.cpp
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2026-09-02 01:43:21 +0000
committerDevin Teske <dteske@FreeBSD.org>2026-09-02 01:43:21 +0000
commit4690891af6320e358e4a2beb3054cd37d065d8d2 (patch)
treeb607993cb25042721349839195d708ade42fd223 /lib/CodeGen/CodeGenPGO.cpp
parent4aeab132f6d8f38f5434315db22dbeb3072e5d2c (diff)
ng_bridge: do not move hosts from learnMac=0 hooksHEADmain
ng_bridge(4) says the node does not learn MAC addresses on uplink hooks. However, learnMac was only checked when inserting a new host. A host already known on a link hook was still moved if a packet with that source address arrived on an uplink hook. The nature of this is that inbound unicast to that host then never arrives (the destination is known on the incoming hook). Unknown unicast after timeout is still sent only to uplink, so the host is not re-learned. The interface stays up and outbound may still work. This can last minutes or weeks until reboot or NGM_BRIDGE_MOVE_HOST. Connecting ng_ether(4) lower to an uplink hook is enough: the host's own transmit can appear on the uplink and the table entry moves. Use the same learnMac test for data-path move as for insert. NGM_BRIDGE_MOVE_HOST from userland is unchanged. MFC after: 1 week Reviewed by: jlduran Differential Revision: https://reviews.freebsd.org/D58902
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.cpp')
0 files changed, 0 insertions, 0 deletions