mbox series

[net-next,0/2] tcp: show the right value of TCP_MIB_RTOMIN

Message ID 20240606150307.78648-1-kerneljasonxing@gmail.com (mailing list archive)
Headers show
Series tcp: show the right value of TCP_MIB_RTOMIN | expand

Message

Jason Xing June 6, 2024, 3:03 p.m. UTC
From: Jason Xing <kernelxing@tencent.com>

When doing 'cat /proc/net/snmp' if we already tune the tcp rto min by
using 'sysctl -w' or 'ip route', the result always the same 200 ms.
However, it cannot reflect the real situation because the minimum value
of rto min can be changed smaller than TCP_RTO_MIN.

Jason Xing (2):
  tcp: fix showing wrong rtomin in snmp file when using route option
  tcp: fix showing wrong rtomin in snmp file when setting
    sysctl_tcp_rto_min_us

 include/net/tcp.h  |  2 ++
 net/ipv4/metrics.c |  4 ++++
 net/ipv4/proc.c    | 15 +++++++++++++++
 3 files changed, 21 insertions(+)