]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Add vlan support to static neighbors
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:18 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:42:16 +0000 (19:42 -0500)
commitb0aba50875d6e8cab19e7e113a86e1d98a7032a6
treec0c86bc471e24207ee61b544c8683d84fc43d105
parent7da64434424f4a2751f56552e9336f8d94b039f5
bridge: Add vlan support to static neighbors

When a user adds bridge neighbors, allow him to specify VLAN id.
If the VLAN id is not specified, the neighbor will be added
for VLANs currently in the ports filter list.  If no VLANs are
configured on the port, we use vlan 0 and only add 1 entry.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Acked-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/macvlan.c
drivers/net/vxlan.c
include/linux/netdevice.h
include/uapi/linux/neighbour.h
net/bridge/br_fdb.c
net/bridge/br_private.h
net/core/rtnetlink.c