Skip to content
Commit e081ecf0 authored by Richard Gobert's avatar Richard Gobert Committed by Paolo Abeni
Browse files

gro: avoid checking for a failed search



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: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarRichard Gobert <richardbgobert@gmail.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20221108123320.GA59373@debian
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent e29edc47
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment