X.25 remove bkl in connect
Subsystems (3)
PATCH 4/4 X.25 remove bkl in connect
Connect already has socket locking.
Signed-off-by Andrew Hendry <[email protected]>
--- net/x25/af_x25.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
net/x25/af_x25.c +0 -2
@@ -751,7 +751,6 @@ static int x25_connect(struct socket *sock, struct sockaddr *uaddr,struct x25_route *rt;int rc =0 ; -lock_kernel ();lock_sock (sk);if (sk->sk_state ==TCP_ESTABLISHED && sock->state ==SS_CONNECTING ) { sock->state =SS_CONNECTED ;
@@ -829,7 +828,6 @@ out_put_route:x25_route_put (rt); out:release_sock (sk); -unlock_kernel ();return rc; }
Signature · 1 line
1.7.0.4
From: Andrew Hendry <[email protected]>
Date: Wed, 15 Sep 2010 09:32:03 +1000
Quoted 3 lines
Connect already has socket locking.
Signed-off-by Andrew Hendry <[email protected]>
Applied.