summaryrefslogtreecommitdiffstats
path: root/net/ncsi/ncsi-cmd.c
diff options
context:
space:
mode:
authorJason Baron <jbaron@akamai.com>2019-08-19 14:36:01 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-20 12:25:14 -0700
commit4651d1802f7063e4d8c0bcad957f46ece0c04024 (patch)
treeeef445be3c4cd30af7330eb9bc1222e929e13a9d /net/ncsi/ncsi-cmd.c
parent1edfb8ed6cc12107c2ec61b5be7bc881cfc4460e (diff)
downloadlinux-4651d1802f7063e4d8c0bcad957f46ece0c04024.tar.bz2
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>
Diffstat (limited to 'net/ncsi/ncsi-cmd.c')
0 files changed, 0 insertions, 0 deletions