projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298bf12
)
Phonet: fix mutex imbalance
author
Rémi Denis-Courmont
<remi.denis-courmont@nokia.com>
Wed, 30 Sep 2009 23:41:34 +0000
(16:41 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 30 Sep 2009 23:41:34 +0000
(16:41 -0700)
From: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
port_mutex was unlocked twice.
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/socket.c
patch
|
blob
|
history
diff --git
a/net/phonet/socket.c
b/net/phonet/socket.c
index 07aa9f08d5fbdd0a66eb4713103b2f687089a8ea..aa5b5a972bff7a3e40700b8969e3b145bca428eb 100644
(file)
--- a/
net/phonet/socket.c
+++ b/
net/phonet/socket.c
@@
-407,7
+407,6
@@
int pn_sock_get_port(struct sock *sk, unsigned short sport)
return -EADDRINUSE;
found:
- mutex_unlock(&port_mutex);
pn->sobject = pn_object(pn_addr(pn->sobject), sport);
return 0;
}