]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Fix for multicast failure
authorHuazhong Tan <tanhuazhong@huawei.com>
Mon, 3 Sep 2018 10:21:47 +0000 (11:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 05:04:45 +0000 (22:04 -0700)
commit91268f29e33a94ccd2bcc29397e24efb4d2157e8
treedb52e71a01de857d2f0fc5797804cb7e2561e135
parent11b11e04e3424f0de611dbcde6259ac2f32f232f
net: hns3: Fix for multicast failure

When the lower 24 bits of the IPV6 link-local addresses at both
ends are the same, the multicast MAC address for Neigbour Discovery
is the same. The multicast for Neigbour Discovery will fail.

This patch fixes it by including the bonding uplink port in the
multicast group.

Fixes: 22c0e2ce21dd("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c