diff options
author | Zhang Changzhong <[email protected]> | 2020-12-04 16:48:56 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-04 15:41:06 -0800 |
commit | ee4f52a8de2c6f78b01f10b4c330867d88c1653a (patch) | |
tree | 7c1b1268c50c41320b101498b767c4441c6fffb4 /tools/perf/scripts/python/check-perf-trace.py | |
parent | b410f04eb5b482b5efc4eee90de81ad35d3d923b (diff) |
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 <[email protected]>
Signed-off-by: Zhang Changzhong <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions