[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iL_0EWCW5Ks6okUKc5579eYg26Z0gffHArgj90YEMSa0A@mail.gmail.com>
Date: Tue, 8 Nov 2022 21:56:42 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: Richard Gobert <richardbgobert@...il.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
lixiaoyan@...gle.com, alexanderduyck@...com,
steffen.klassert@...unet.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] gro: avoid checking for a failed search
On Tue, Nov 8, 2022 at 4:34 AM Richard Gobert <richardbgobert@...il.com> wrote:
>
> After searching for a protocol handler in dev_gro_receive, checking for
> failure is redundant. Skip the failure code after finding the
> corresponding handler.
>
> Suggested-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Richard Gobert <richardbgobert@...il.com>
> ---
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists