# Re: \[PATCH 2/3\] etherdevice.h: Add ether\_addr\_equal\_64bits

- From: David Miller \<davem@davemloft.net\>
- Date: 2012-05-11 03:35:47 
- List: netdev
- Page: https://ratatoskr.run/netdev/2012/05/3862472
- Thread: https://ratatoskr.run/netdev/2012/05/3861701/t.md

```text
From: Joe Perches <joe@perches.com>
Date: Wed,  9 May 2012 20:04:03 -0700

> 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>

Applied.
```
