]> git.baikalelectronics.ru Git - kernel.git/commit
net-next/hinic:fix a bug in set mac address
authorXue Chaojing <xuechaojing@huawei.com>
Tue, 20 Nov 2018 05:47:33 +0000 (05:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 18:38:08 +0000 (10:38 -0800)
commitbe04595bf30d51029761919f0f5679e94c489c47
treee7c9ac145433e6d28479a95d8953cbb9027c993e
parentb18c4e4e13a61a2f9dd09f315eb2ce9aa0a1a0a3
net-next/hinic:fix a bug in set mac address

In add_mac_addr(), if the MAC address is a muliticast address,
it will not be set, which causes the network card fail to receive
the multicast packet. This patch fixes this bug.

Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_main.c