Re: [PATCH net] net/smc: avoid fallback in case of non-blocking connect

2019-08-05 Thread David Miller
From: Karsten Graul Date: Fri, 2 Aug 2019 10:47:50 +0200 > From: Ursula Braun > > FASTOPEN is not possible with SMC. sendmsg() with msg_flag MSG_FASTOPEN > triggers a fallback to TCP if the socket is in state SMC_INIT. > But if a nonblocking connect is already started, fallback to TCP > is no

[PATCH net] net/smc: avoid fallback in case of non-blocking connect

2019-08-02 Thread Karsten Graul
From: Ursula Braun FASTOPEN is not possible with SMC. sendmsg() with msg_flag MSG_FASTOPEN triggers a fallback to TCP if the socket is in state SMC_INIT. But if a nonblocking connect is already started, fallback to TCP is no longer possible, even though the socket may still be in state SMC_INIT.