Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122407
b: refs/heads/master
c: 6976a1d
h: refs/heads/master
i:
  122405: f63a88b
  122403: 42a8626
  122399: 23c11ed
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 2, 2008
1 parent 61ed7e7 commit 8b68b19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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: 422d9cdcb85b3622d08a590fed66021af7aea333
refs/heads/master: 6976a1d6c222c50ac93d2273b9cf57e6fd047e59
4 changes: 2 additions & 2 deletions trunk/net/ipv4/inet_connection_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,8 @@ void inet_csk_listen_stop(struct sock *sk)

acc_req = req->dl_next;

percpu_counter_inc(sk->sk_prot->orphan_count);

local_bh_disable();
bh_lock_sock(child);
WARN_ON(sock_owned_by_user(child));
Expand All @@ -641,8 +643,6 @@ void inet_csk_listen_stop(struct sock *sk)

sock_orphan(child);

percpu_counter_inc(sk->sk_prot->orphan_count);

inet_csk_destroy_sock(child);

bh_unlock_sock(child);
Expand Down

0 comments on commit 8b68b19

Please sign in to comment.