OpenBSD/src fWwCL0U — sys/net if_bridge.c
when adding span ports, restrict them to ether and mplstunnel interfaces. this is the same check that's done when adding normal members to the bridge. it prevents things like gif(4) being added to the bridge, which in turn prevents panics when shoving ethernet packets down a layer 3 interface. reported and tested by jasper@
Version | Delta | File | |
---|---|---|---|
1.308 | +6 | -1 | sys/net/if_bridge.c |
+6 | -1 | 1 files |