diff options
author | dingtianhong <dingtianhong@huawei.com> | 2014-01-02 09:12:54 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-01 22:58:15 -0500 |
commit | 815117adaf5b87155a73d2b4b9c556977bad51cb (patch) | |
tree | 7dd00b30af601f17cbf9e359c071c5fcaace0bfb /usr | |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions