OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2019 05:21:50 +0000 (07:21 +0200)
commitc9f431017617bdfa435f300a74d41049768b0a99
tree8e07fa9503c9b2321577443e245844aa73ace9a6
parent1ff38d33d7c43aa53257fff875b83078c9bc7299
net: hns: fix ICMP6 neighbor solicitation messages discard problem

[ Upstream commit f058e46855dcbc28edb2ed4736f38a71fd19cadb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c