mbox series

[net-next,0/2] tcp: add tcp_warn_once() common helper

Message ID 20241020145029.27725-1-kerneljasonxing@gmail.com (mailing list archive)
Headers show
Series tcp: add tcp_warn_once() common helper | expand

Message

Jason Xing Oct. 20, 2024, 2:50 p.m. UTC
From: Jason Xing <kernelxing@tencent.com>

Paolo Abeni suggested we can introduce a new helper to cover more cases
in the future for better debug.

Jason Xing (2):
  tcp: add a common helper to debug the underlying issue
  tcp: add more warn of socket in tcp_send_loss_probe()

 include/net/tcp.h     | 31 ++++++++++++++++++++-----------
 net/ipv4/tcp_output.c |  4 +---
 2 files changed, 21 insertions(+), 14 deletions(-)