]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b959f6c02b6fe5c835d0e06f1f1fddf38610b85
tree9c0a9ba3234ceecf51f292bb2089ce787d993b8b
parent29178e2a80df24b6ca48e61f4a361a9f7e72fbbd
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