projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7d31f
)
[ROSE]: rose_heartbeat_expiry() locking fix
author
Andrew Morton
<akpm@osdl.org>
Fri, 28 Oct 2005 22:12:02 +0000
(15:12 -0700)
committer
Arnaldo Carvalho de Melo
<acme@mandriva.com>
Mon, 31 Oct 2005 18:41:45 +0000
(16:41 -0200)
Missing unlock, as noted by Ted Unangst <tedu@coverity.com>.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/rose/rose_timer.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rose/rose_timer.c
b/net/rose/rose_timer.c
index 50ae0371dab872e1ee0b51d11362d8f7de532f8b..b6c8f38cc26c42025ea9b6c63558f2d032c1f92d 100644
(file)
--- a/
net/rose/rose_timer.c
+++ b/
net/rose/rose_timer.c
@@
-138,6
+138,7
@@
static void rose_heartbeat_expiry(unsigned long param)
is accepted() it isn't 'dead' so doesn't get removed. */
if (sock_flag(sk, SOCK_DESTROY) ||
(sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) {
+ bh_unlock_sock(sk);
rose_destroy_socket(sk);
return;
}