Re: [PATCH net 1/1] net/smc: restrict non-blocking connect finish

2018-05-02 Thread David Miller
From: Ursula Braun Date: Wed, 2 May 2018 16:53:56 +0200 > The smc_poll code tries to finish connect() if the socket is in > state SMC_INIT and polling of the internal CLC-socket returns with > EPOLLOUT. This makes sense for a select/poll call following a connect > call, but not without preceding

[PATCH net 1/1] net/smc: restrict non-blocking connect finish

2018-05-02 Thread Ursula Braun
The smc_poll code tries to finish connect() if the socket is in state SMC_INIT and polling of the internal CLC-socket returns with EPOLLOUT. This makes sense for a select/poll call following a connect call, but not without preceding connect(). With this patch smc_poll starts connect logic only, if