]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Update MIB counters for drops
authorVijay Subramanian <subramanian.vijay@gmail.com>
Thu, 31 Jan 2013 08:24:06 +0000 (08:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:06:27 +0000 (13:06 -0500)
commit1e0329c90bcb237e75b44fcc2f6038226cc12ced
tree161e94adaafc94a9d4b320ba3e8d9cd829ad3e97
parent9bdd9920ab6ccbc65408de75b13f7c240334be2d
tcp: Update MIB counters for drops

This patch updates LINUX_MIB_LISTENDROPS in tcp_v4_conn_request() and
tcp_v4_err(). tcp_v4_conn_request() in particular can drop SYNs for various
reasons which are not currently tracked.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c