net: hns3: fix VF promisc mode not update when mac table full
mainline inclusion from mainline-v6.2-rc3 commit 8ee57c7b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6A42Q CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ee57c7b8406c7aa8ca31e014440c87c6383f429 ---------------------------------------------------------------------- Currently, it missed set HCLGE_VPORT_STATE_PROMISC_CHANGE flag for VF when vport->overflow_promisc_flags changed. So the VF won't check whether to update promisc mode in this case. So add it. Fixes: 1e6e7610 ("net: hns3: configure promisc mode for VF asynchronously") Signed-off-by:Jian Shen <shenjian15@huawei.com> Signed-off-by:
Hao Lan <lanhao@huawei.com> Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Jiantao Xiao <xiaojiantao1@h-partners.com>
Loading
Please sign in to comment