net: tcp: add mib counters to track zero window transitions
authorFlorian Westphal <fw@strlen.de>
Tue, 25 Feb 2014 13:34:32 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 20:23:30 +0000 (15:23 -0500)
commit8e165e20348b53583f6c6cb45865b89209f4aa13
tree26eab521fe1c2ac3aca539d832d747f2c42bc930
parent2ebe21fdde1c92ef1654f23d29194145be0e1ddc
net: tcp: add mib counters to track zero window transitions

Three counters are added:
- one to track when we went from non-zero to zero window
- one to track the reverse
- one counter incremented when we want to announce zero window,
  but can't because we would shrink current window.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/snmp.h
net/ipv4/proc.c
net/ipv4/tcp_output.c