aboutsummaryrefslogtreecommitdiffstats
path: root/net/ncsi
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
parentnfp: flower: verify that block cb is not busy before binding (diff)
downloadlinux-dev-4651d1802f7063e4d8c0bcad957f46ece0c04024.tar.xz
linux-dev-4651d1802f7063e4d8c0bcad957f46ece0c04024.zip
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')
0 files changed, 0 insertions, 0 deletions