projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd8d60f
)
[NET]: Fix unbalanced rcu_read_unlock in __sock_create
author
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 15 Aug 2007 21:46:02 +0000
(14:46 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Aug 2007 21:46:02 +0000
(14:46 -0700)
The recent RCU work created an unbalanced rcu_read_unlock
in __sock_create. This patch fixes that. Reported by
oleg 123.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/net/socket.c
b/net/socket.c
index ec077037f534b6a3265342fc0ccfd1dd56893505..7d44453dfae13a43a4e4a1a72e077ff644d96661 100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-1168,7
+1168,7
@@
static int __sock_create(int family, int type, int protocol,
module_put(pf->owner);
err = security_socket_post_create(sock, family, type, protocol, kern);
if (err)
- goto out_release;
+ goto out_
sock_
release;
*res = sock;
return 0;