net: hns3: fix incorrect return value when updating vlan table
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
When updating vlan filter for port base vlan, it could be fail in
some unexpect case. However, the original codes didn't not deal with
those case and just return a retult as 'OK'. This patch fix it.
Fixes: 073cb1f5614e ("net: hns3: fix set port base vlan issue")
Feature or Bugfix:Bugfix
Signed-off-by: NGuojia Liao <liaoguojia@huawei.com>
Reviewed-by: Nlipeng <lipeng321@huawei.com>
Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录