]> 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)
commit4ca65947e40e06ca19689d7ec436d9d951e05a15
tree3585bf258d87459b48b2d94b66dac9de729ef699
parentc945ca68fd2602f51e440bbd9282c64f05e986b3
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