diff options
author | Nivedita Singhvi <niv@us.ibm.com> | 2013-01-28 17:52:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-29 15:43:04 -0500 |
commit | 2aeef18d37aa8c0bfca169d4ede1790d972bf649 (patch) | |
tree | e38ca04c8441572c52a5d8db7bc0e20376ec42a1 /include/uapi | |
parent | 5e98a36ed4bf6ea396170e3af0dd4fcbe51d772f (diff) | |
download | blackbird-op-linux-2aeef18d37aa8c0bfca169d4ede1790d972bf649.tar.gz blackbird-op-linux-2aeef18d37aa8c0bfca169d4ede1790d972bf649.zip |
tcp: Increment LISTENOVERFLOW and LISTENDROPS in tcp_v4_conn_request()
We drop a connection request if the accept backlog is full and there are
sufficient packets in the syn queue to warrant starting drops. Increment the
appropriate counters so this isn't silent, for accurate stats and help in
debugging.
This patch assumes LINUX_MIB_LISTENDROPS is a superset of/includes the
counter LINUX_MIB_LISTENOVERFLOWS.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
Acked-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions