git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ax25: missplaced sock_put(sk)
[pandora-kernel.git]
/
net
/
ax25
/
ax25_ds_timer.c
diff --git
a/net/ax25/ax25_ds_timer.c
b/net/ax25/ax25_ds_timer.c
index
2ce79df
..
c7d8143
100644
(file)
--- a/
net/ax25/ax25_ds_timer.c
+++ b/
net/ax25/ax25_ds_timer.c
@@
-112,8
+112,8
@@
void ax25_ds_heartbeat_expiry(ax25_cb *ax25)
if (sk) {
sock_hold(sk);
ax25_destroy_socket(ax25);
- sock_put(sk);
bh_unlock_sock(sk);
+ sock_put(sk);
} else
ax25_destroy_socket(ax25);
return;