sk_state_store(9) 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