]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: unlock queue mutex in error path
authorShannon Nelson <snelson@pensando.io>
Wed, 29 Jul 2020 17:52:17 +0000 (10:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jul 2020 00:37:16 +0000 (17:37 -0700)
commit5cf802fa6d9427929daa0607a312fd77aa046fcf
treec1b549fc1ea0c7697b76aaa16b6fc9e0ae1e9de8
parent9c0a7d53f824914b8beaec9731ebc175162e9d47
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: a6b059be98da ("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>
drivers/net/ethernet/pensando/ionic/ionic_lif.c