etherdevice.h: Add ether_addr_equal
authorJoe Perches <joe@perches.com>
Tue, 8 May 2012 18:56:45 +0000 (18:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2012 00:49:16 +0000 (20:49 -0400)
commita599b0f54d233d0f63d6be9a2ff0049d24751669
treef2af4db8faa12de568e31d475f4680cb5e7d282d
parenta49d1a905ed96c7a790d9535e2bc62d3f2f55a05
etherdevice.h: Add ether_addr_equal

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

This is to avoid any confusion about compare_ether_addr
returning an unsigned, and not being able to use the
compare_ether_addr 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