Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25c74823 authored by Xue Chaojing's avatar Xue Chaojing Committed by Greg Kroah-Hartman
Browse files

net-next/hinic:fix a bug in set mac address



[ Upstream commit 9ea72dc9430306b77c73a8a21beb51437cde1d6d ]

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: default avatarXue Chaojing <xuechaojing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 249279c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment