]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43da85f4d294c98730ab4b42bf36debc87f9c3cb
treef2af4db8faa12de568e31d475f4680cb5e7d282d
parent25ca0f4ae0782fb797333cedbf25585e7a71a40e
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