[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190820.122549.1717974409774245848.davem@davemloft.net>
Date: Tue, 20 Aug 2019 12:25:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbaron@...mai.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com, ubraun@...ux.ibm.com,
kgraul@...ux.ibm.com
Subject: Re: [net PATCH] net/smc: make sure EPOLLOUT is raised
From: Jason Baron <jbaron@...mai.com>
Date: Mon, 19 Aug 2019 14:36:01 -0400
> 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@...mai.com>
Applied and queued up for -stable, thanks Jason.
Powered by blists - more mailing lists