suse man page for sk_wait_data

Query: sk_wait_data

OS: suse

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 2.6. July 2010 SK_WAIT_DATA(9)
Related Man Pages
curl_multi_timeout(3) - mojave
ipsec_pf_key(5) - debian
randomid_delete(3) - netbsd
__skb_recv_datagram(9) - suse
blk_init_queue(9) - suse
Similar Topics in the Unix Linux Community
RHEL: Users unable to login via SSH