]> 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)
commit817b9a624a07586e71f40903c3f61902f1bcefae
tree62a5fc5cec4d106106a348f020e319734c252971
parent9b5840e4d8b789807dfb4f1b765820800c9c7c1e
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