Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110228
b: refs/heads/master
c: 859f4c7
h: refs/heads/master
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Oct 6, 2008
1 parent af8f4fb commit a5b05c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 33d1d2c52c3befa6c4df33b4ba58137d1c48894b
refs/heads/master: 859f4c74d8de4dc344b3a115367d5e22a79bddaf
2 changes: 1 addition & 1 deletion trunk/net/netrom/af_netrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ static int nr_release(struct socket *sock)
if (sk == NULL) return 0;

sock_hold(sk);
sock_orphan(sk);
lock_sock(sk);
nr = nr_sk(sk);

Expand All @@ -548,7 +549,6 @@ static int nr_release(struct socket *sock)
sk->sk_state = TCP_CLOSE;
sk->sk_shutdown |= SEND_SHUTDOWN;
sk->sk_state_change(sk);
sock_orphan(sk);
sock_set_flag(sk, SOCK_DESTROY);
break;

Expand Down

0 comments on commit a5b05c7

Please sign in to comment.