vlan: Use bitmask of feature flags instead of seperate feature bits
authorPatrick McHardy <kaber@trash.net>
Fri, 23 May 2008 07:22:04 +0000 (00:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 May 2008 07:27:50 +0000 (00:27 -0700)
commit289c79a4bd350e8a25065102563ad1a183d1b402
tree2067cb054704c62c3debfe92a3f00dc551ff7162
parent7bece8155be133cd67c41eed2b31c60a310609de
vlan: Use bitmask of feature flags instead of seperate feature bits

Herbert Xu points out that the use of seperate feature bits for features
to be propagated to VLAN devices is going to get messy real soon.
Replace the VLAN feature bits by a bitmask of feature flags to be
propagated and restore the old GSO_SHIFT/MASK values.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/8021q/vlan.c
net/8021q/vlan.h
net/8021q/vlan_dev.c