diff options
author | Jesse Gross <jesse@nicira.com> | 2010-10-20 15:56:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 10:26:53 +0200 |
commit | 65ac6a5fa658b90f1be700c55e7cd72e4611015d (patch) | |
tree | 7330c3234101c6d4c952f4abec9c8064df0e685a /net/wireless/sme.c | |
parent | vlan: Enable software emulation for vlan accleration. (diff) | |
download | linux-65ac6a5fa658b90f1be700c55e7cd72e4611015d.tar.xz linux-65ac6a5fa658b90f1be700c55e7cd72e4611015d.zip |
vlan: Avoid hash table lookup to find group.
A struct net_device always maps to zero or one vlan groups and we
always know the device when we are looking up a group. We currently
do a hash table lookup on the device to find the group but it is
much simpler to just store a pointer.
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/sme.c')
0 files changed, 0 insertions, 0 deletions