commit | 815117adaf5b87155a73d2b4b9c556977bad51cb | [log] [tgz] |
---|---|---|
author | dingtianhong <dingtianhong@huawei.com> | Thu Jan 02 09:12:54 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 01 22:58:15 2014 -0500 |
tree | 7dd00b30af601f17cbf9e359c071c5fcaace0bfb | |
parent | 4b903e30bb24db592f3d52b9dd80744c3556705c [diff] |
bonding: use ether_addr_equal_unaligned for bond addr compare Use possibly more efficient ether_addr_equal_64bits to instead of memcmp. Modify the MAC_ADDR_COMPARE to MAC_ADDR_EQUAL, this looks more appropriate. The comments for the bond 3ad is too old, cleanup some errors and warming. Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>