Commit c8f2ebbb authored by Eric Dumazet's avatar Eric Dumazet Committed by Greg Kroah-Hartman
Browse files

net: drop nopreempt requirement on sock_prot_inuse_add()



[ Upstream commit b3cb764a ]

This is distracting really, let's make this simpler,
because many callers had to take care of this
by themselves, even if on x86 this adds more
code than really needed.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: a9bf9c7d ("af_unix: Annotate data-race of sk->sk_state in unix_stream_connect().")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent aa4ed1e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment