mbox series

[net,v3,0/2] tcp/mptcp: count CLOSE-WAIT for CurrEstab

Message ID 20240530131308.59737-1-kerneljasonxing@gmail.com (mailing list archive)
Headers show
Series tcp/mptcp: count CLOSE-WAIT for CurrEstab | expand

Message

Jason Xing May 30, 2024, 1:13 p.m. UTC
From: Jason Xing <kernelxing@tencent.com>

Taking CLOSE-WAIT sockets into CurrEstab counters is in accordance with RFC
1213, as suggested by Eric and Neal.

Previous discussion
Link: https://lore.kernel.org/all/20240529033104.33882-1-kerneljasonxing@gmail.com/

Jason Xing (2):
  tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB
  mptcp: count CLOSE-WAIT sockets for MPTCP_MIB_CURRESTAB

 net/ipv4/tcp.c       | 6 +++++-
 net/mptcp/protocol.c | 5 +++--
 2 files changed, 8 insertions(+), 3 deletions(-)