table of contents
other versions
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¶
struct sock * sk
socket pointer
int newstate
new state
DESCRIPTION¶
Paired with sk_state_load. Should be used in contexts where state change might impact lockless readers.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |