Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214748
b: refs/heads/master
c: 40e192c
h: refs/heads/master
v: v3
  • Loading branch information
andrew hendry authored and David S. Miller committed Sep 22, 2010
1 parent 08daaa1 commit 6d317f6
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: 7e51b439f147670c4ddd2bf6ca4567592b5312de
refs/heads/master: 40e192c3ff7b1af680b0b03e94cadf1dad5fb82e
2 changes: 0 additions & 2 deletions trunk/net/x25/af_x25.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,6 @@ static int x25_getname(struct socket *sock, struct sockaddr *uaddr,
struct x25_sock *x25 = x25_sk(sk);
int rc = 0;

lock_kernel();
if (peer) {
if (sk->sk_state != TCP_ESTABLISHED) {
rc = -ENOTCONN;
Expand All @@ -923,7 +922,6 @@ static int x25_getname(struct socket *sock, struct sockaddr *uaddr,
*uaddr_len = sizeof(*sx25);

out:
unlock_kernel();
return rc;
}

Expand Down

0 comments on commit 6d317f6

Please sign in to comment.