]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix under-accounting retransmit SNMP counters
authorYuchung Cheng <ycheng@google.com>
Wed, 21 Sep 2016 23:16:14 +0000 (16:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 07:33:01 +0000 (03:33 -0400)
commit4c94f50ad92f0e6ef22f285b850304ca1187fad6
tree4cd1dc2e2dd168547e147e2d2d699c8f24a66deb
parent108b61f0857cccd02d3c85e5347226be9c502a8c
tcp: fix under-accounting retransmit SNMP counters

This patch fixes these under-accounting SNMP rtx stats
LINUX_MIB_TCPFORWARDRETRANS
LINUX_MIB_TCPFASTRETRANS
LINUX_MIB_TCPSLOWSTARTRETRANS
when retransmitting TSO packets

Fixes: c24f111438b4 ("tcp-tso: do not split TSO packets at retransmit time")
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c