Scroll to navigation

SK_STATE_STORE(9) Linux Networking SK_STATE_STORE(9)

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

March 2017 Kernel Hackers Manual 4.10