diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-07-29 10:52:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-30 17:37:16 -0700 |
commit | 59929fbb45e06da7d501d3a97f10a91912181f7c (patch) | |
tree | c1b549fc1ea0c7697b76aaa16b6fc9e0ae1e9de8 /drivers/net/ethernet/cortina | |
parent | 51875dad43b44241b46a569493f1e4bfa0386d86 (diff) |
ionic: unlock queue mutex in error path
On an error return, jump to the unlock at the end to be sure
to unlock the queue_lock mutex.
Fixes: 0925e9db4dc8 ("ionic: use mutex to protect queue operations")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cortina')
0 files changed, 0 insertions, 0 deletions