net: hns3: only enable unicast promisc when mac table full
mainline inclusion from mainline-v6.6-rc3 commit f2ed3049 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I83ZCY CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f2ed304922a55690529bcca59678dd92d7466ce8 ---------------------------------------------------------------------- Currently, the driver will enable unicast promisc for the function once configure mac address fail. It's unreasonable when the failure is caused by using same mac address with other functions. So only enable unicast promisc when mac table full. Fixes: c631c696 ("net: hns3: refactor the promisc mode setting") Signed-off-by:Jian Shen <shenjian15@huawei.com> Signed-off-by:
Jijie Shao <shaojijie@huawei.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Jiantao Xiao <xiaojiantao1@h-partners.com>
Loading
Please sign in to comment