]> Pileus Git - ~andy/linux/commit
bridge: Implement vlan ingress/egress policy with PVID.
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:14 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:42:15 +0000 (19:42 -0500)
commit7885198861fc9a3dfdc6bb90dc0ba12689d6cd57
treea75ed0f9b3fe72be08dcb13216c87f4f8e37bb75
parent6cbdceeb1cb12c7d620161925a8c3e81daadb2e4
bridge: Implement vlan ingress/egress policy with PVID.

At ingress, any untagged traffic is assigned to the PVID.
Any tagged traffic is filtered according to membership bitmap.

At egress, if the vlan matches the PVID, the frame is sent
untagged.  Otherwise the frame is sent tagged.

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