centos man page for sk_wait_data

Query: sk_wait_data

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SK_WAIT_DATA(9) 						 Linux Networking						   SK_WAIT_DATA(9)

NAME
sk_wait_data - wait for data to arrive at sk_receive_queue
SYNOPSIS
int sk_wait_data(struct sock * sk, long * timeo);
ARGUMENTS
sk sock to wait on timeo for how long
DESCRIPTION
Now socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule only as optimization; it is very likely that release_sock added new data.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SK_WAIT_DATA(9)
Related Man Pages
ipsec_pf_key(5) - centos
blk_init_queue(9) - centos
ipsec_pf_key(5) - debian
ldi_putmsg(9f) - sunos
ldi_getmsg(9f) - opensolaris
Similar Topics in the Unix Linux Community
RHEL: Users unable to login via SSH