mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
gro: avoid checking for a failed search
[ Upstream commite081ecf084] 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@google.com> Signed-off-by: Richard Gobert <richardbgobert@gmail.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20221108123320.GA59373@debian Signed-off-by: Paolo Abeni <pabeni@redhat.com> Stable-dep-of:7871f54e3d("gro: take care of DODGY packets") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8998db5021
commit
df9cddce8f
1 changed files with 35 additions and 35 deletions
Loading…
Add table
Add a link
Reference in a new issue