etherdevice.h: Add ether_addr_equal_64bits
authorJoe Perches <joe@perches.com>
Wed, 9 May 2012 17:04:03 +0000 (17:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 03:33:01 +0000 (23:33 -0400)
commitbaf523c9ba4a69e97b0b5a6fb0e0a9e43550a65b
tree9c0a9ba3234ceecf51f292bb2089ce787d993b8b
parent2e42e4747ea72943c21551d8a206b51a9893b1e0
etherdevice.h: Add ether_addr_equal_64bits

Add an optimized boolean function to check if
2 ethernet addresses are the same.

This is to avoid any confusion about compare_ether_addr_64bits
returning an unsigned, and not being able to use the
compare_ether_addr_64bits function for sorting ala memcmp.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/etherdevice.h