Commit b02308bf authored by vulab's avatar vulab Committed by Cheng Jian
Browse files

net: hns: use eth_broadcast_addr() to assign broadcast address



mainline inclusion
from mainline-5.9-rc1
commit 74b5afea
category: bugfix
bugzilla: NA
CVE: NA

---------------------------

This patch is to use eth_broadcast_addr() to assign broadcast address
insetad of memset().

Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent 50922ec6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment