From: Josh Hunt <johunt@akamai.com>
To: Eric Dumazet <edumazet@google.com>, Neal Cardwell <ncardwell@google.com>
Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net 1/1] tcp: check skb is non-NULL in tcp_rto_delta_us()
Date: Fri, 23 Aug 2024 12:43:36 -0700 [thread overview]
Message-ID: <a76ac35a-9be2-4849-985c-2f3b2a922fa5@akamai.com> (raw)
In-Reply-To: <CANn89iJ7uOFshDP_VE=OSKqkw_2=9iuRpHNUV_kzHhP-Xh2icg@mail.gmail.com>
On 8/22/24 11:55 PM, Eric Dumazet wrote:
> !-------------------------------------------------------------------|
> This Message Is From an External Sender
> This message came from outside your organization.
> |-------------------------------------------------------------------!
>
> On Fri, Aug 23, 2024 at 5:34 AM Josh Hunt <johunt@akamai.com> wrote:
>>
>> There have been multiple occassions where we have crashed in this path
>> because packets_out suggested there were packets on the write or retransmit
>> queues, but in fact there weren't leading to a NULL skb being dereferenced.
>> While we should fix that root cause we should also just make sure the skb
>> is not NULL before dereferencing it. Also add a warn once here to capture
>> some information if/when the problem case is hit again.
>>
>> Signed-off-by: Josh Hunt <johunt@akamai.com>
>
> Hi Josh
>
> We do not want a patch series of one patch, with the stack trace in
> the cover letter.
> Please send a standalone patch, with all the information in its changelog.
>
> 1) Add Neal Cardwell in the CC list.
>
> 2) Are you using TCP_REPAIR by any chance ?
>
> 3) Please double check your kernel has these fixes.
>
> commit 1f85e6267caca44b30c54711652b0726fadbb131 tcp: do not send
> empty skb from tcp_write_xmit()
> commit 0c175da7b0378445f5ef53904247cfbfb87e0b78 tcp: prohibit
> TCP_REPAIR_OPTIONS if data was already sent
>
Thanks Eric. I will resend and also check the commits you mentioned. I
didn't include the writeup in the patch submission b/c it was rather
long and detailed, but will include it in a v2.
Josh
next prev parent reply other threads:[~2024-08-23 19:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-23 3:34 [PATCH net 0/1] NULL ptr dereference in tcp_rearm_rto Josh Hunt
2024-08-23 3:34 ` [PATCH net 1/1] tcp: check skb is non-NULL in tcp_rto_delta_us() Josh Hunt
2024-08-23 6:55 ` Eric Dumazet
2024-08-23 19:43 ` Josh Hunt [this message]
2024-08-26 20:32 ` Jakub Kicinski
2024-09-06 23:16 ` Josh Hunt
-- strict thread matches above, loose matches on Subject: below --
2024-08-23 2:13 [PATCH net 0/1] NULL ptr dereference in tcp_rearm_rto Josh Hunt
2024-08-23 2:13 ` [PATCH net 1/1] tcp: check skb is non-NULL in tcp_rto_delta_us() Josh Hunt
2024-08-23 3:27 ` Jason Xing
2024-08-23 3:33 ` Josh Hunt
2024-08-23 4:21 ` Josh Hunt
2024-08-23 6:42 ` Eric Dumazet
2024-08-23 7:36 ` Jason Xing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a76ac35a-9be2-4849-985c-2f3b2a922fa5@akamai.com \
--to=johunt@akamai.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®