summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2004-06-24 12:31:44 +0000
committerjoerg <joerg@FreeBSD.org>2004-06-24 12:31:44 +0000
commitf7a4300d05c1c525586e63fe8474f5d0d4ecfe64 (patch)
tree5fa6e3b74b8fd2c6743406a224b96c7e3eb38297 /sys/net/if_vlan.c
parent383d0b372c87c375f739406f916f19b16d55c0c6 (diff)
downloadFreeBSD-src-f7a4300d05c1c525586e63fe8474f5d0d4ecfe64.zip
FreeBSD-src-f7a4300d05c1c525586e63fe8474f5d0d4ecfe64.tar.gz
When considering an ethernet frame that is not destined for us, do not
only allow this to be further processed when bridging is active on that interface, but also if the current packet has a VLAN tag and VLANs are active on our interface. This gives the VLAN layers a chance to also consider the packet (and perhaps drop it instead of the main dispatcher). This fixes a situation where bridging was only active on VLAN interfaces but ether_demux() called on behalf of the main interface had already thrown the packet away. MFC after: 4 weeks
Diffstat (limited to 'sys/net/if_vlan.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud