diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2020-05-30 16:42:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-30 18:12:25 -0700 |
commit | b8ded9de8db34dd209a3dece94cf54fc414e78f7 (patch) | |
tree | 3dbc406c8c0caec84fbc5763491d86ea13a9a20f /lib/test_ida.c | |
parent | b86a372201153326bad2c7048aef1bd7accbcbbc (diff) | |
download | linux-stable-b8ded9de8db34dd209a3dece94cf54fc414e78f7.tar.gz linux-stable-b8ded9de8db34dd209a3dece94cf54fc414e78f7.tar.bz2 linux-stable-b8ded9de8db34dd209a3dece94cf54fc414e78f7.zip |
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>
Diffstat (limited to 'lib/test_ida.c')
0 files changed, 0 insertions, 0 deletions