Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214522
b: refs/heads/master
c: 21a4591
h: refs/heads/master
v: v3
  • Loading branch information
andrew hendry authored and David S. Miller committed Sep 15, 2010
1 parent c6b6889 commit c74f169
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 141646ce56735cedb2336b3cd21364287f0aa4c7
refs/heads/master: 21a4591794c82c1a73f9d45d6400f878648261e3
2 changes: 0 additions & 2 deletions trunk/net/x25/af_x25.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -829,7 +828,6 @@ static int x25_connect(struct socket *sock, struct sockaddr *uaddr,
x25_route_put(rt);
out:
release_sock(sk);
unlock_kernel();
return rc;
}

Expand Down

0 comments on commit c74f169

Please sign in to comment.