missplaced sock_put(sk)
Subsystems (2)
PATCH 1/1 missplaced sock_put(sk)
[PATCH] [AX25] missplaced sock_put(sk)
This patch moves a missplaced sock_put(sk) afterbh_unlock_sock(sk)
like in other parts of AX25 driver.
Signed-off-by Bernard Pidoux <[email protected]>
net/ax25/ax25_ds_timer.c +1 -1
@@ -112,8 +112,8 @@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 ;
From: Bernard F6BVP <[email protected]>
Date: Thu, 26 Aug 2010 23:40:00 +0200
Quoted 7 lines
[PATCH] [AX25] missplaced
sock_put(sk)This patch moves a missplaced
sock_put(sk)afterbh_unlock_sock(sk)
like in other parts of AX25 driver.Signed-off-by Bernard Pidoux <[email protected]>
Applied, thank you.