bridge: Validate that vlan is permitted on ingress
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:10 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:41:46 +0000 (19:41 -0500)
commita37b85c9fbd1dc69fbec3985763f373203eaf9e3
tree3585bf258d87459b48b2d94b66dac9de729ef699
parent243a2e63f5f47763b802e9dee8dbf1611a1c1322
bridge: Validate that vlan is permitted on ingress

When a frame arrives on a port or transmitted by the bridge,
if we have VLANs configured, validate that a given VLAN is allowed
to enter the bridge.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_input.c
net/bridge/br_private.h
net/bridge/br_vlan.c