1
0
Fork 0
alistair23-linux/net/smc
Jason Baron 4651d1802f net/smc: make sure EPOLLOUT is raised
Currently, we are only explicitly setting SOCK_NOSPACE on a write timeout
for non-blocking sockets. Epoll() edge-trigger mode relies on SOCK_NOSPACE
being set when -EAGAIN is returned to ensure that EPOLLOUT is raised.
Expand the setting of SOCK_NOSPACE to non-blocking sockets as well that can
use SO_SNDTIMEO to adjust their write timeout. This mirrors the behavior
that Eric Dumazet introduced for tcp sockets.

Signed-off-by: Jason Baron <jbaron@akamai.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Ursula Braun <ubraun@linux.ibm.com>
Cc: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-20 12:25:14 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
af_smc.c net/smc: avoid fallback in case of non-blocking connect 2019-08-05 13:24:37 -07:00
smc.h net/smc: nonblocking connect rework 2019-04-12 10:50:56 -07:00
smc_cdc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-15 12:38:38 -08:00
smc_cdc.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-15 12:38:38 -08:00
smc_clc.c net: use new in_dev_ifa iterators 2019-06-02 18:06:26 -07:00
smc_clc.h net/smc: improve smc_conn_create reason codes 2019-04-12 10:50:56 -07:00
smc_close.c net/smc: wait for pending work before clcsock release_sock 2019-04-11 11:04:08 -07:00
smc_close.h net/smc: wait for pending work before clcsock release_sock 2019-04-11 11:04:08 -07:00
smc_core.c net/smc: hold conns_lock before calling smc_lgr_register_conn() 2019-06-26 10:10:16 -07:00
smc_core.h net/smc: improve smc_conn_create reason codes 2019-04-12 10:50:56 -07:00
smc_diag.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
smc_ib.c net/smc: Use rdma_read_gid_l2_fields to L2 fields 2019-05-03 11:10:03 -03:00
smc_ib.h net/smc: rework pnet table 2019-02-21 10:34:37 -08:00
smc_ism.c net/smc: fix a NULL pointer dereference 2019-04-11 11:04:08 -07:00
smc_ism.h net/smc: add SMC-D shutdown signal 2018-11-21 16:14:56 -08:00
smc_llc.c net/smc: preallocated memory for rdma work requests 2019-02-04 09:11:19 -08:00
smc_llc.h net/smc: add infrastructure to send delete rkey messages 2018-11-23 17:20:32 -08:00
smc_netns.h net/smc: add pnet table namespace support 2019-02-21 10:34:37 -08:00
smc_pnet.c genetlink: optionally validate strictly/dumps 2019-04-27 17:07:22 -04:00
smc_pnet.h net/smc: consolidate function parameters 2019-04-12 10:50:56 -07:00
smc_rx.c pipe: stop using ->can_merge 2019-02-01 02:01:45 -05:00
smc_rx.h smc: add support for splice() 2018-05-04 11:45:06 -04:00
smc_tx.c net/smc: make sure EPOLLOUT is raised 2019-08-20 12:25:14 -07:00
smc_tx.h net/smc: eliminate cursor read and write calls 2018-07-23 10:57:14 -07:00
smc_wr.c net/smc: preallocated memory for rdma work requests 2019-02-04 09:11:19 -08:00
smc_wr.h net/smc: preallocated memory for rdma work requests 2019-02-04 09:11:19 -08:00