Re: [PATCH net-next v2] gro: avoid checking for a failed search

From: Eric Dumazet
Date: Wed Nov 09 2022 - 00:56:58 EST


On Tue, Nov 8, 2022 at 4:34 AM Richard Gobert <richardbgobert@xxxxxxxxx> 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@xxxxxxxxxx>
> Signed-off-by: Richard Gobert <richardbgobert@xxxxxxxxx>
> ---

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>