]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7537819bccff51623cd7aa35a1cb9adf345d3d12
tree3585bf258d87459b48b2d94b66dac9de729ef699
parentae0dafe32a95d2d9e71832374a2292e6ed7781b1
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