diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-12-04 11:48:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-05 02:41:06 +0300 |
commit | ee4f52a8de2c6f78b01f10b4c330867d88c1653a (patch) | |
tree | 7c1b1268c50c41320b101498b767c4441c6fffb4 /net/openvswitch/flow_netlink.c | |
parent | b410f04eb5b482b5efc4eee90de81ad35d3d923b (diff) | |
download | linux-ee4f52a8de2c6f78b01f10b4c330867d88c1653a.tar.xz |
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/flow_netlink.c')
0 files changed, 0 insertions, 0 deletions