projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce9e3d9
)
[TIPC]: Add missing unlock in port timeout code.
author
Allan Stephens
<allan.stephens@windriver.com>
Tue, 17 Oct 2006 04:38:05 +0000
(21:38 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 19 Oct 2006 02:55:13 +0000
(19:55 -0700)
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/port.c
patch
|
blob
|
blame
|
history
diff --git
a/net/tipc/port.c
b/net/tipc/port.c
index b9c8c6b9e94fdf87c931cdc3c409a373a8043bdc..c1a1a76759b59259e87a7b12bc190e6c9fcc07cc 100644
(file)
--- a/
net/tipc/port.c
+++ b/
net/tipc/port.c
@@
-505,8
+505,13
@@
static void port_timeout(unsigned long ref)
struct port *p_ptr = tipc_port_lock(ref);
struct sk_buff *buf = NULL;
- if (!p_ptr || !p_ptr->publ.connected)
+ if (!p_ptr)
+ return;
+
+ if (!p_ptr->publ.connected) {
+ tipc_port_unlock(p_ptr);
return;
+ }
/* Last probe answered ? */
if (p_ptr->probing_state == PROBING) {