]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: support "loose binding" to the underlying network device
authorPatrick McHardy <kaber@trash.net>
Wed, 25 Nov 2009 07:54:54 +0000 (07:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Nov 2009 00:00:36 +0000 (16:00 -0800)
commit9dccc65b8fa80a3b222ebeaf4aa9973e45164138
tree7575fb4b06fdad1e2e9796e0dc99ca011e59980e
parenta79d65555b6471f2a75d9356fb9caefbe4c25893
vlan: support "loose binding" to the underlying network device

Currently the UP/DOWN state of VLANs is synchronized to the state of the
underlying device, meaning all VLANs are set down once the underlying
device is set down. This causes all routes to the VLAN devices to vanish.

Add a flag to specify a "loose binding" mode, in which only the operstate
is transfered, but the VLAN device state is independant.

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