diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 03:48:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 03:48:04 -0400 |
commit | a9fde2607895667823e9d1172fc193087125ef68 (patch) | |
tree | cf5481c66e911dc43bd2c9463603562d35af4cfe /scripts | |
parent | 669f87baab90183e13b95480aecf8d7bac92ca3c (diff) |
[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 'scripts')
0 files changed, 0 insertions, 0 deletions