diff options
author | Patrick McHardy <kaber@trash.net> | 2009-11-25 02:54:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-26 19:00:36 -0500 |
commit | 5e7565930524410f097f5b04f8aba663089a6ffc (patch) | |
tree | 7575fb4b06fdad1e2e9796e0dc99ca011e59980e /include/linux/if_vlan.h | |
parent | cc83f6d6922018a1b762f67af539867a6b05398e (diff) |
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>
Diffstat (limited to 'include/linux/if_vlan.h')
-rw-r--r-- | include/linux/if_vlan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 153f6b9e722c..3d870fda8c4f 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h | |||
@@ -339,6 +339,7 @@ enum vlan_ioctl_cmds { | |||
339 | enum vlan_flags { | 339 | enum vlan_flags { |
340 | VLAN_FLAG_REORDER_HDR = 0x1, | 340 | VLAN_FLAG_REORDER_HDR = 0x1, |
341 | VLAN_FLAG_GVRP = 0x2, | 341 | VLAN_FLAG_GVRP = 0x2, |
342 | VLAN_FLAG_LOOSE_BINDING = 0x4, | ||
342 | }; | 343 | }; |
343 | 344 | ||
344 | enum vlan_name_types { | 345 | enum vlan_name_types { |