diff options
author | Bernard Pidoux F6BVP <f6bvp@free.fr> | 2010-08-26 11:40:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-26 15:18:27 -0700 |
commit | d71b0e9c0028f3af910226f995e0074873e16979 (patch) | |
tree | fea5f89a292a0acbcb696d7e5c4005f46e3f5dd8 /net/ax25 | |
parent | fe5f098055ed7f701bfb16f8f87378cf67de9a0e (diff) | |
download | op-kernel-dev-d71b0e9c0028f3af910226f995e0074873e16979.zip op-kernel-dev-d71b0e9c0028f3af910226f995e0074873e16979.tar.gz |
ax25: missplaced sock_put(sk)
This patch moves a missplaced sock_put(sk) after
bh_unlock_sock(sk)
like in other parts of AX25 driver.
Signed-off-by: Bernard Pidoux <f6bvp@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')
-rw-r--r-- | net/ax25/ax25_ds_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_ds_timer.c b/net/ax25/ax25_ds_timer.c index 2ce79df..c7d8143 100644 --- 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; |