Skip to content
Commit 3bcdbf90 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_complete handlers

[ Upstream commit 627b94f7

 ]

All gro_complete() handlers are called from napi_gro_complete()
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 8d84e1a8
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