]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfdaf195277267724da54e20cb49224456d1b152
tree2067cb054704c62c3debfe92a3f00dc551ff7162
parent547c4975ed646a2c0863f779ac1025ef87f53e00
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