[PATCH net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2013-12-31 Thread Ding Tianhong
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 Signed-off-by: Ding Tianhong ---

[PATCH net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2013-12-31 Thread Ding Tianhong
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 j...@perches.com Signed-off-by: Ding