Skip to content
  1. Jun 30, 2020
  2. Jun 29, 2020
  3. Jun 28, 2020
    • David S. Miller's avatar
      Merge branch 'tcp-improve-delivered-counts-in-SCM_TSTAMP_ACK' · 491f14db
      David S. Miller authored
      
      
      Yousuk Seung says:
      
      ====================
      tcp: improve delivered counts in SCM_TSTAMP_ACK
      
      Currently delivered and delivered_ce in OPT_STATS of SCM_TSTAMP_ACK do
      not fully reflect the current ack being timestamped. Also they are not
      in sync as the delivered count includes packets being sacked and some of
      cumulatively acked but delivered_ce includes none.
      
      This patch series updates tp->delivered and tp->delivered_ce together to
      keep them in sync. It also moves generating SCM_TSTAMP_ACK to later in
      tcp_clean_rtx_queue() to reflect packets being cumulatively acked up
      until the current skb for sack-enabled connections.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      491f14db