vlan: Change vlan_dev_set_vlan_flag() to handle multiple flags at once
authorPatrick McHardy <kaber@trash.net>
Sun, 6 Jul 2008 04:26:27 +0000 (21:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Jul 2008 04:26:27 +0000 (21:26 -0700)
commitb3ce0325f2bf1bb737cb8fc7c349ce8fefdd9e40
treef2925e18555561b528b781c535c96bdbc0c809a9
parenteca9ebac651f774d8b10fce7c5d173c3c3d3394f
vlan: Change vlan_dev_set_vlan_flag() to handle multiple flags at once

Change vlan_dev_set_vlan_flag() to handle multiple flags at once and
rename to vlan_dev_change_flags(). This allows to to use it from the
netlink interface, which in turn allows to handle necessary adjustments
when changing flags centrally.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c
net/8021q/vlan.h
net/8021q/vlan_dev.c
net/8021q/vlan_netlink.c