projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce064e6
)
ibmvnic: fix missing unlock on error in __ibmvnic_reset()
author
Wei Yongjun
<weiyongjun1@huawei.com>
Thu, 18 May 2017 15:24:52 +0000
(15:24 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 May 2017 19:18:31 +0000
(15:18 -0400)
Add the missing unlock before return from function __ibmvnic_reset()
in the error handling case.
Fixes: ed651a10875f ("ibmvnic: Updated reset handling")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm/ibmvnic.c
index 4f2d329dba998308eeb2ddaed52733cb3059f605..27f79339e9a85588d8607152d51427b83899401a 100644
(file)
--- a/
drivers/net/ethernet/ibm/ibmvnic.c
+++ b/
drivers/net/ethernet/ibm/ibmvnic.c
@@
-1313,6
+1313,7
@@
static void __ibmvnic_reset(struct work_struct *work)
if (rc) {
free_all_rwi(adapter);
+ mutex_unlock(&adapter->reset_lock);
return;
}