]> Pileus Git - ~andy/linux/commit
bridge: Separate egress policy bitmap
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:20 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:42:16 +0000 (19:42 -0500)
commit35e03f3a0275a1ba57e432d7c948cf6f70fbb37a
tree7a86834908791e180aaf4284cd462bb7e8a1d926
parentbc9a25d21ef8bad30e259af5114ccfb845c066db
bridge: Separate egress policy bitmap

Add an ability to configure a separate "untagged" egress
policy to the VLAN information of the bridge.  This superseeds PVID
policy and makes PVID ingress-only.  The policy is configured with a
new flag and is represented as a port bitmap per vlan.  Egress frames
with a VLAN id in "untagged" policy bitmap would egress
the port without VLAN header.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_bridge.h
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_vlan.c