net: introduce vlan_vid_[add/del] and use them instead of direct [add/kill]_vid ndo...
authorJiri Pirko <jpirko@redhat.com>
Thu, 8 Dec 2011 04:11:17 +0000 (04:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:52:42 +0000 (19:52 -0500)
commit87002b03baabd2b8f6281ab6411ed88d24958de1
tree0e5730c0d1ba887488ba420d4ea89a230f272c51
parent8e586137e6b63af1e881b328466ab5ffbe562510
net: introduce vlan_vid_[add/del] and use them instead of direct [add/kill]_vid ndo calls

This patch adds wrapper for ndo_vlan_rx_add_vid/ndo_vlan_rx_kill_vid
functions. Check for NETIF_F_HW_VLAN_FILTER feature is done in this
wrapper.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/macvlan.c
drivers/net/team/team.c
include/linux/if_vlan.h
net/8021q/vlan.c
net/8021q/vlan_core.c