Skip to content
Commit 8ebfb6db authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: lockless SO_PASSCRED, SO_PASSPIDFD and SO_PASSSEC



sock->flags are atomic, no need to hold the socket lock
in sk_setsockopt() for SO_PASSCRED, SO_PASSPIDFD and SO_PASSSEC.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 10bbf165
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment