Skip to content
Commit 8d84e1a8 authored by Eric Dumazet's avatar Eric Dumazet Committed by Greg Kroah-Hartman
Browse files

gro: remove rcu_read_lock/rcu_read_unlock from gro_receive handlers

[ Upstream commit fc1ca334

 ]

All gro_receive() handlers are called from dev_gro_receive()
while rcu_read_lock() has been called.

There is no point stacking more rcu_read_lock()

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 7e419693

 ("fou: Fix null-ptr-deref in GRO.")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5ccc2e5d
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