[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+nAPNQ9pWjk6K7z+kH4dnP3YcmjvW_StT=0CdHoPR-+g@mail.gmail.com>
Date: Thu, 18 Sep 2025 11:02:37 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Dmitry Safonov <0x7f454c46@...il.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Neal Cardwell <ncardwell@...gle.com>, Willem de Bruijn <willemb@...gle.com>,
Kuniyuki Iwashima <kuniyu@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com,
Daniel Zahka <daniel.zahka@...il.com>
Subject: Re: [PATCH net-next] tcp: prefer sk_skb_reason_drop()
On Thu, Sep 18, 2025 at 10:56 AM Dmitry Safonov <0x7f454c46@...il.com> wrote:
>
> On Thu, 18 Sept 2025 at 14:20, Eric Dumazet <edumazet@...gle.com> wrote:
> >
> > Replace two calls to kfree_skb_reason() with sk_skb_reason_drop().
> >
> > Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> > Cc: Daniel Zahka <daniel.zahka@...il.com>
> > Cc: Dmitry Safonov <0x7f454c46@...il.com>
>
> LGTM, thanks!
>
> Reviewed-by: Dmitry Safonov <0x7f454c46@...il.com>
>
> Side-note: I see that tcp_ao_transmit_skb() can currently fail only
> due to ENOMEM, IIRC I haven't found more specific reason at that time
> than just SKB_DROP_REASON_NOT_SPECIFIED, unsure if worth changing
> that.
We could then use SKB_DROP_REASON_NOMEM.
Powered by blists - more mailing lists