]> 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)
commit7c044af0fc21d0b1b16c8d9a7018b58d6340648f
treec1b549fc1ea0c7697b76aaa16b6fc9e0ae1e9de8
parentcee8e4a1a1ac53125051deb134fe0b721fa77ff0
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: 7565d2e43e89 ("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