]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fix ICMP6 neighbor solicitation messages discard problem
authorYonglong Liu <liuyonglong@huawei.com>
Thu, 4 Apr 2019 08:46:45 +0000 (16:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Apr 2019 17:35:42 +0000 (10:35 -0700)
commit6d5b72f4d0684704ee632e8c0e34eee816299e62
treebaa697ac1b6fbc2a27f2b2dc858e0cf811060aed
parentc907ca34f174332cdb28097a2c6ae9b81bea7755
net: hns: fix ICMP6 neighbor solicitation messages discard problem

ICMP6 neighbor solicitation messages will be discard by the Hip06
chips, because of not setting forwarding pool. Enable promisc mode
has the same problem.

This patch fix the wrong forwarding table configs for the multicast
vague matching when enable promisc mode, and add forwarding pool
for the forwarding table.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c