]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit0610d11b53ad15200618e38e4511373e3ed09e8a
tree73229c61c29f0a6690c3f29abd3966a4637a8835
parentb3a6251915df9e3d80d4a0d32bd8d24223906688
[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