mbox series

[net-next,v2,0/2] tcp: ensure rate sample to use the most recently sent skb

Message ID 1650100749-10072-1-git-send-email-yangpc@wangsu.com (mailing list archive)
Headers show
Series tcp: ensure rate sample to use the most recently sent skb | expand

Message

Pengcheng Yang April 16, 2022, 9:19 a.m. UTC
This patch ensure to use the most recently sent skb
when filling the rate sample. And make RACK and rate
sample share the use of tcp_skb_sent_after() helper.

v2: introduce a new help function tcp_skb_sent_after()

Pengcheng Yang (2):
  tcp: ensure to use the most recently sent skb when filling the rate
    sample
  tcp: use tcp_skb_sent_after() instead in RACK

 include/net/tcp.h       |  6 ++++++
 net/ipv4/tcp_rate.c     | 11 ++++++++---
 net/ipv4/tcp_recovery.c | 15 +++++----------
 3 files changed, 19 insertions(+), 13 deletions(-)