sk_state_store (9) - Linux Manuals

sk_state_store: update sk->sk_state

NAME

sk_state_store - update sk->sk_state

SYNOPSIS

void sk_state_store(struct sock sk, int newstate);

ARGUMENTS

sk

socket pointer

newstate

new state

DESCRIPTION

Paired with sk_state_load. Should be used in contexts where state change might impact lockless readers.

COPYRIGHT