[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c9f81dc8-d32c-4ce1-5963-a45bc72fcd31@gmail.com>
Date: Fri, 4 Mar 2022 08:31:00 -0700
From: David Ahern <dsahern@...il.com>
To: Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Menglong Dong <menglong8.dong@...il.com>
Subject: Re: [PATCH net-next] skb: make drop reason booleanable
On 3/3/22 11:37 PM, Eric Dumazet wrote:
> On Thu, Mar 3, 2022 at 9:22 PM Jakub Kicinski <kuba@...nel.org> wrote:
>>
>> On Thu, 3 Mar 2022 20:53:53 -0800 Jakub Kicinski wrote:
>>> - return false;
>>> + return __SKB_OKAY;
>>
>> s/__//
>>
>> I'll send a v2 if I get acks / positive feedback.
>
>
> I am not a big fan of SKB_OKAY ?
>
> Maybe SKB_NOT_DROPPED_YET, or SKB_VALID_SO_FAR.
>
> Oh well, I am not good at names.
SKB_DROP_EXPECTED or SKB_DROP_NORMAL? That said I thought consume_skb is
for normal, release path and then kfree_skb is when an skb is dropped
for unexpected reasons.
Powered by blists - more mailing lists