commit | b8ded9de8db34dd209a3dece94cf54fc414e78f7 | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Sat May 30 16:42:37 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat May 30 18:12:25 2020 -0700 |
tree | 3dbc406c8c0caec84fbc5763491d86ea13a9a20f | |
parent | b86a372201153326bad2c7048aef1bd7accbcbbc [diff] |
net/smc: pre-fetch send buffer outside of send_lock 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 <kgraul@linux.ibm.com> Reviewed-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>