Skip to content

tcp_metrics: four fixes

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4tcp_metrics: add missing barriers on deletenet/ipv4/tcp_metrics.c+2 -22 repliesApplied
2/4tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()net/ipv4/tcp_metrics.c+4 -52 repliesApplied
3/4tcp_metrics: do not create an entry from tcp_init_metrics()net/ipv4/tcp_metrics.c+1 -12 repliesApplied
4/4tcp_metrics: optimize tcp_metrics_flush_all()net/ipv4/tcp_metrics.c+5 -24 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid AhernNeal Cardwell
1/4R-b A-b
2/4R-b A-b
3/4R-b A-b
4/4R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] tcp_metrics: four fixes

Looking at an inconclusive syzbot report, I was surprised to see that tcp_metrics cache on my host was full of useless entries, even though I have /proc/sys/net/ipv4/tcp_no_metrics_save set to 1.

While looking more closely I found a total of four issues.

Eric Dumazet (4):
tcp_metrics: add missing barriers on delete
tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
tcp_metrics: do not create an entry from tcp_init_metrics()
tcp_metrics: optimize tcp_metrics_flush_all()

 net/ipv4/tcp_metrics.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog