summaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorZhang Changzhong <zhangchangzhong@huawei.com>2020-12-04 16:48:56 +0800
committerJakub Kicinski <kuba@kernel.org>2020-12-04 15:41:06 -0800
commitee4f52a8de2c6f78b01f10b4c330867d88c1653a (patch)
tree7c1b1268c50c41320b101498b767c4441c6fffb4 /net/openvswitch
parentb410f04eb5b482b5efc4eee90de81ad35d3d923b (diff)
downloadlinux-stable-ee4f52a8de2c6f78b01f10b4c330867d88c1653a.tar.gz
linux-stable-ee4f52a8de2c6f78b01f10b4c330867d88c1653a.tar.bz2
linux-stable-ee4f52a8de2c6f78b01f10b4c330867d88c1653a.zip
net: bridge: vlan: fix error return code in __vlan_add()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: f8ed289fab84 ("bridge: vlan: use br_vlan_(get|put)_master to deal with refcounts") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Link: https://lore.kernel.org/r/1607071737-33875-1-git-send-email-zhangchangzhong@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions