Commit 386c2b87 authored by Jason Xing's avatar Jason Xing Committed by David S. Miller
Browse files

tcp: add a common helper to debug the underlying issue

Following the commit c8770db2 ("tcp: check skb is non-NULL
in tcp_rto_delta_us()"), we decided to add a helper so that it's
easier to get verbose warning on either cases.

Link: https://lore.kernel.org/all/5632e043-bdba-4d75-bc7e-bf58014492fd@redhat.com/


Suggested-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarJason Xing <kernelxing@tencent.com>
Cc: Neal Cardwell <ncardwell@google.com>
Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2b1d193a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment