]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net-next/hinic:fix a bug in set mac address
authorXue Chaojing <xuechaojing@huawei.com>
Mon, 18 Mar 2019 08:29:47 +0000 (16:29 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Apr 2019 12:37:29 +0000 (14:37 +0200)
commit10467d92ebb2924a9471b0ebe7cb67fe29c83c77
tree06f3edc65c6237a99efd3dc6442a0ccdf827763f
parentc71b8f9c6750bc0eceeeadf5cb0c323214f8a158
net-next/hinic:fix a bug in set mac address

BugLink: https://bugs.launchpad.net/bugs/1820187
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>
(cherry picked from commit 9ea72dc9430306b77c73a8a21beb51437cde1d6d)
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/huawei/hinic/hinic_main.c