[VLAN]: Introduce symbolic constants for flag values
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b020cb4885
commit
a4bf3af4ac
@@ -565,7 +565,7 @@ static int register_vlan_device(struct net_device *real_dev,
|
||||
VLAN_DEV_INFO(new_dev)->vlan_id = VLAN_ID; /* 1 through VLAN_VID_MASK */
|
||||
VLAN_DEV_INFO(new_dev)->real_dev = real_dev;
|
||||
VLAN_DEV_INFO(new_dev)->dent = NULL;
|
||||
VLAN_DEV_INFO(new_dev)->flags = 1;
|
||||
VLAN_DEV_INFO(new_dev)->flags = VLAN_FLAG_REORDER_HDR;
|
||||
|
||||
err = register_vlan_dev(new_dev);
|
||||
if (err < 0)
|
||||
|
Reference in New Issue
Block a user