]> 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)
commit4172cf6d1a968abca0016e86e9d52eb053597532
tree4cd1dc2e2dd168547e147e2d2d699c8f24a66deb
parent567ff419313355eeac976602bb1527208cea660f
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: 168b93cded1c ("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