summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/r8152.c
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2017-04-04 14:15:40 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-05 18:41:27 -0700
commit2d2517ee314ef1de0517f74d06c2825fbf597ba3 (patch)
tree50f26c23c14c62b33bd884da0a6715f310b3c90c /drivers/net/usb/r8152.c
parentecde8f36f8a05a023b9d026e9094571aab421d36 (diff)
downloadlinux-stable-2d2517ee314ef1de0517f74d06c2825fbf597ba3.tar.gz
linux-stable-2d2517ee314ef1de0517f74d06c2825fbf597ba3.tar.bz2
linux-stable-2d2517ee314ef1de0517f74d06c2825fbf597ba3.zip
tcp: fix reordering SNMP under-counting
Currently the reordering SNMP counters only increase if a connection sees a higher degree then it has previously seen. It ignores if the reordering degree is not greater than the default system threshold. This significantly under-counts the number of reordering events and falsely convey that reordering is rare on the network. This patch properly and faithfully records the number of reordering events detected by the TCP stack, just like the comment says "this exciting event is worth to be remembered". Note that even so TCP still under-estimate the actual reordering events because TCP requires TS options or certain packet sequences to detect reordering (i.e. ACKing never-retransmitted sequence in recovery or disordered state). 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: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/r8152.c')
0 files changed, 0 insertions, 0 deletions