Fix bridging IPv6 fragments with pf reassembly.
authorbluhm <bluhm@openbsd.org>
Mon, 5 Aug 2024 17:47:29 +0000 (17:47 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 5 Aug 2024 17:47:29 +0000 (17:47 +0000)
commit270a6ceb8b1a2918dac81ffddddddd61befd4513
tree1293ba58df161e5865a0d3813968344872cc21f8
parentad534f1885b0eb48a8f96e714aa65dda6684da66
Fix bridging IPv6 fragments with pf reassembly.

Sending IPv6 fragments over a bridge with pf did not work.  During
input pf reassembles the packet, and at bridge output it should be
refragmented.  This is only done for PF_FWD direction, but bridge(4)
and veb(4) called pf_test() with PF_OUT argument.

OK sashan@
sys/net/if_bridge.c
sys/net/if_veb.c