mbox series

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

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

Message

Jason Xing Oct. 21, 2024, 3:52 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     | 27 ++++++++++++++++-----------
 net/ipv4/tcp_output.c |  4 +---
 2 files changed, 17 insertions(+), 14 deletions(-)