diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 00:48:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 00:48:04 -0700 |
commit | a9fde2607895667823e9d1172fc193087125ef68 (patch) | |
tree | cf5481c66e911dc43bd2c9463603562d35af4cfe /net/8021q/vlan.h | |
parent | 669f87baab90183e13b95480aecf8d7bac92ca3c (diff) | |
download | kernel_samsung_smdk4412-a9fde2607895667823e9d1172fc193087125ef68.zip kernel_samsung_smdk4412-a9fde2607895667823e9d1172fc193087125ef68.tar.gz kernel_samsung_smdk4412-a9fde2607895667823e9d1172fc193087125ef68.tar.bz2 |
[VLAN]: Tag vlan_group_device with net device, not ifindex.
Currently vlan group is searched using one key - the ifindex.
We'll have to lookup the vlan_group by two keys - ifindex and
net. Turning the vlan_group lookup key to struct net_device
pointer will make this process easier.
Besides, this will eliminate one more place in the networking,
that assumes that indexes are unique in the kernel.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
0 files changed, 0 insertions, 0 deletions