]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Add netlink interface to configure vlans on bridge ports
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:12 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:41:46 +0000 (19:41 -0500)
commit6d1fee019f9e7e40cf4ba8426258dcc78e2c0db4
tree9572e0b02eb9f6c2952b490f3a79f4b790fcea3c
parent69cd4f7f5521e5901df8ee25e7635053820c5d32
bridge: Add netlink interface to configure vlans on bridge ports

Add a netlink interface to add and remove vlan configuration on bridge port.
The interface uses the RTM_SETLINK message and encodes the vlan
configuration inside the IFLA_AF_SPEC.  It is possble to include multiple
vlans to either add or remove in a single message.

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