]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: bug fix about ping6
authorKejian Yan <yankejian@huawei.com>
Tue, 22 Mar 2016 08:06:22 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Mar 2016 19:45:57 +0000 (15:45 -0400)
commitf19dc9d97f46888a8e6c6c55715e768f8d344592
tree323153a3d8079ddae2936f691f1b80f78004455b
parent43091d05ca660829abf68c7618cc47855583c26f
net: hns: bug fix about ping6

The current upstreaming code fails to ping other IPv6 net device, because
the enet receives the multicast packets with the src mac addr which is the
same as its mac addr. These packets need to be dropped.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c