diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-05-18 11:24:13 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-18 13:39:32 -0700 |
commit | 0d56e5c191b197e1d30a0a4c92628836dafced0f (patch) | |
tree | 8bf0c561282807bd294c16e1e3721ece535b9a7c /drivers/net/ethernet/intel/igc | |
parent | 4ac9e23cf2ccdad99dbc57d7d1bf264d53d23057 (diff) |
net: dsa: qca8k: fix missing unlock on error in qca8k_vlan_(add|del)
Add the missing unlock before return from function qca8k_vlan_add()
and qca8k_vlan_del() in the error handling case.
Fixes: 028f5f8ef44f ("net: dsa: qca8k: handle error with qca8k_read operation")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions