sk_state_load (9) - Linux Manuals

sk_state_load: read sk->sk_state for lockless contexts

NAME

sk_state_load - read sk->sk_state for lockless contexts

SYNOPSIS

int sk_state_load(const struct sock sk);

ARGUMENTS

sk

socket pointer

DESCRIPTION

Paired with sk_state_store. Used in places we do not hold socket lock : tcp_diag_get_info, tcp_get_info, tcp_poll, get_tcp4_sock ...

COPYRIGHT