]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: use ether_addr_equal_64bits to instead of ether_addr_equal
authordingtianhong <dingtianhong@huawei.com>
Thu, 2 Jan 2014 01:13:16 +0000 (09:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:58:55 +0000 (22:58 -0500)
commit51b20837d058c9aff3566329113187c835e920b4
tree5cbed9d0fed1bc85da1918eeca02cdf54c45a371
parent310779ea5c003aea1624188697dd0ff5ea5b94e2
bonding: use ether_addr_equal_64bits to instead of ether_addr_equal

The net_device.dev_addr have more than 2 bytes of additional data after
the mac addr, so it is safe to use the ether_addr_equal_64bits().

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c