Re: [PATCH net-next] net/smc: pre-fetch send buffer outside of send_lock

2020-05-30 Thread David Miller
From: Karsten Graul Date: Sat, 30 May 2020 16:42:37 +0200 > Pre-fetch send buffer for the CDC validation message before entering the > send_lock. Without that the send call might fail with -EBUSY because > there are no free buffers and waiting for buffers is not possible under > send_lock. > > S

[PATCH net-next] net/smc: pre-fetch send buffer outside of send_lock

2020-05-30 Thread Karsten Graul
Pre-fetch send buffer for the CDC validation message before entering the send_lock. Without that the send call might fail with -EBUSY because there are no free buffers and waiting for buffers is not possible under send_lock. Signed-off-by: Karsten Graul Reviewed-by: Ursula Braun --- net/smc/smc