]> git.karo-electronics.de Git - linux-beck.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)
commit0d6b425a3773c3445b0f51b2f333821beaacb619
tree323153a3d8079ddae2936f691f1b80f78004455b
parentdb219baf19a7024ec1db71f7c3c2663d49de1818
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