aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorRicardo Biehl Pasquali <pasqualirb@gmail.com>2019-06-23 22:40:47 -0300
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-02-28 21:39:29 +0100
commit7ded63ef4cec38d87e66868d123bbce8620af8f7 (patch)
tree28a8e32ec873d50c0f70161c876db8c728179993 /man7
parentce160b21abb617fb3013cd180ad2f9250e7b0118 (diff)
downloadman-pages-7ded63ef4cec38d87e66868d123bbce8620af8f7.tar.gz
socket.7: Add description of SO_SELECT_ERR_QUEUE
Signed-off-by: Ricardo Biehl Pasquali <pasqualirb@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/socket.726
1 files changed, 22 insertions, 4 deletions
diff --git a/man7/socket.7 b/man7/socket.7
index 27b24d79e4..211b264dbb 100644
--- a/man7/socket.7
+++ b/man7/socket.7
@@ -49,10 +49,6 @@
.\" commit a8fc92778080c845eaadc369a0ecf5699a03bef0
.\" Author: Pavel Emelyanov <xemul@parallels.com>
.\"
-.\" SO_SELECT_ERR_QUEUE (3.10)
-.\" commit 7d4c04fc170087119727119074e72445f2bb192b
-.\" Author: Keller, Jacob E <jacob.e.keller@intel.com>
-.\"
.\" SO_MAX_PACING_RATE (3.13)
.\" commit 62748f32d501f5d3712a7c372bbb92abc7c62bc7
.\" Author: Eric Dumazet <edumazet@google.com>
@@ -873,6 +869,28 @@ Indicates that an unsigned 32-bit value ancillary message (cmsg)
should be attached to received skbs indicating
the number of packets dropped by the socket since its creation.
.TP
+.BR SO_SELECT_ERR_QUEUE " (since Linux 3.10)"
+.\" commit 7d4c04fc170087119727119074e72445f2bb192b
+.\" Author: Keller, Jacob E <jacob.e.keller@intel.com>
+Makes poll adding
+.B POLLPRI
+when
+.B POLLERR
+event is returned. It does not affect wake up.
+.IP
+Background: The flag was added when waking up on
+.B POLLERR
+required requesting
+.B POLLIN
+or
+.B POLLPRI.
+After the commit 6e5d58fdc9bedd0255a8 ("skbuff: Fix not
+waking applications when errors are enqueued"), introduced
+in Linux 4.16, waking up on
+.B POLLERR
+does not require requesting other events. The flag is kept
+only for backwards compatibility.
+.TP
.B SO_SNDBUF
Sets or gets the maximum socket send buffer in bytes.
The kernel doubles this value (to allow space for bookkeeping overhead)