aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJason Baron <[email protected]>2019-08-19 14:36:01 -0400
committerDavid S. Miller <[email protected]>2019-08-20 12:25:14 -0700
commit4651d1802f7063e4d8c0bcad957f46ece0c04024 (patch)
treeeef445be3c4cd30af7330eb9bc1222e929e13a9d /net/switchdev/switchdev.c
parent1edfb8ed6cc12107c2ec61b5be7bc881cfc4460e (diff)
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 <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Ursula Braun <[email protected]> Cc: Karsten Graul <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions