table of contents
other versions
SK_STATE_LOAD(9) | Linux Networking | SK_STATE_LOAD(9) |
NAME¶
sk_state_load - read sk->sk_state for lockless contexts
SYNOPSIS¶
int sk_state_load(const struct sock * sk);
ARGUMENTS¶
const struct sock * 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¶
September 2017 | Kernel Hackers Manual 4.12 |