]> git.baikalelectronics.ru Git - kernel.git/commit
[VLAN]: __vlan_hwaccel_rx can use the faster ether_compare_addr
authorStephen Hemminger <shemminger@osdl.org>
Fri, 14 Jul 2006 23:34:22 +0000 (16:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2006 23:34:22 +0000 (16:34 -0700)
commit88c561cf08f7647352312632bef5e50b03cc9e2a
tree73229c61c29f0a6690c3f29abd3966a4637a8835
parent210962c92f6abb33d636e920bcab159fb7017334
[VLAN]: __vlan_hwaccel_rx can use the faster ether_compare_addr

The inline function compare_ether_addr is faster than memcmp.
Also, don't need to drag in proc_fs.h, the only reference to proc_dir_entry
is a pointer so the declaration is needed here.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h