OSDN Git Service

tcp: take care of compressed acks in tcp_add_reno_sack()
authorEric Dumazet <edumazet@google.com>
Tue, 27 Nov 2018 22:42:01 +0000 (14:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2018 21:26:53 +0000 (13:26 -0800)
commit19119f298bb1f2af3bb1093f5f2a1fed8da94e37
tree40fc0b12fcae58b8627c8e2913ae7a758fe463b6
parentebeef4bcccf4681ba3de04fbf3a005f6054f7999
tcp: take care of compressed acks in tcp_add_reno_sack()

Neal pointed out that non sack flows might suffer from ACK compression
added in the following patch ("tcp: implement coalescing on backlog queue")

Instead of tweaking tcp_add_backlog() we can take into
account how many ACK were coalesced, this information
will be available in skb_shinfo(skb)->gso_segs

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