Re: [PATCH] VLAN code can use the faster ether_compare_addr

2006-07-14 Thread David Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Fri, 14 Jul 2006 14:36:17 -0700 > Stephen Hemminger wrote: > > 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

Re: [PATCH] VLAN code can use the faster ether_compare_addr

2006-07-14 Thread Ben Greear
Stephen Hemminger wrote: 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. Looks fine to me. Ben Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> ---

[PATCH] VLAN code can use the faster ether_compare_addr

2006-07-14 Thread Stephen Hemminger
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 <[EMAIL PROTECTED]> --- include/linux/if_vlan.h |5 +++-- 1 files change