Commit eace9927 authored by Eric Dumazet's avatar Eric Dumazet Committed by sanglipeng
Browse files

net: add missing data-race annotation for sk_ll_usec

stable inclusion
from stable-v5.10.190
commit 268b29ef1947718582936e5e6b3d851bafe19271
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=268b29ef1947718582936e5e6b3d851bafe19271



--------------------------------

[ Upstream commit e5f0d2dd ]

In a prior commit I forgot that sk_getsockopt() reads
sk->sk_ll_usec without holding a lock.

Fixes: 0dbffbb5 ("net: annotate data race around sk_ll_usec")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent c78d6119
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment