]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9ea72dc9430306b77c73a8a21beb51437cde1d6d
treee7c9ac145433e6d28479a95d8953cbb9027c993e
parent4a61abb100c8a647959147034f60e9fce17ce9af
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