Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349629
b: refs/heads/master
c: 2aeef18
h: refs/heads/master
i:
  349627: 94715c8
v: v3
  • Loading branch information
Nivedita Singhvi authored and David S. Miller committed Jan 29, 2013
1 parent b548147 commit 9751a37
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5e98a36ed4bf6ea396170e3af0dd4fcbe51d772f
refs/heads/master: 2aeef18d37aa8c0bfca169d4ede1790d972bf649
5 changes: 4 additions & 1 deletion trunk/net/ipv4/tcp_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,8 +1500,11 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
* clogging syn queue with openreqs with exponentially increasing
* timeout.
*/
if (sk_acceptq_is_full(sk) && inet_csk_reqsk_queue_young(sk) > 1)
if (sk_acceptq_is_full(sk) && inet_csk_reqsk_queue_young(sk) > 1) {
NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS);
NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_LISTENDROPS);
goto drop;
}

req = inet_reqsk_alloc(&tcp_request_sock_ops);
if (!req)
Expand Down

0 comments on commit 9751a37

Please sign in to comment.