]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix SNMP under-estimation on failed retransmission
authorYuchung Cheng <ycheng@google.com>
Thu, 29 Nov 2018 00:06:44 +0000 (16:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Dec 2018 01:22:41 +0000 (17:22 -0800)
commit6a3210e46324703426be18972a6f755051d0eb92
tree62a5fc5cec4d106106a348f020e319734c252971
parent3e6b47567d2b7c1cc3a10e13dfebcff2bfbb8c04
tcp: fix SNMP under-estimation on failed retransmission

Previously the SNMP counter LINUX_MIB_TCPRETRANSFAIL is not counting
the TSO/GSO properly on failed retransmission. This patch fixes that.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c