From: Jesse Gross Date: Wed, 20 Oct 2010 13:56:05 +0000 (+0000) Subject: vlan: Avoid hash table lookup to find group. X-Git-Tag: v2.6.37-rc1~147^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65ac6a5fa658b90f1be700c55e7cd72e4611015d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed