diff options
author | Hans Wippel <[email protected]> | 2019-02-07 15:56:17 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-07 18:06:18 -0800 |
commit | 62c7139f3ed011379fbbef832b4b15e3c10b355f (patch) | |
tree | 6e95eaae911df9dfc3463d26fe6af865d6eff5e0 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | a225d2cd88d3303e7c6d1481578a4f23d5f92350 (diff) |
net/smc: unlock LGR pending lock earlier for SMC-D
If SMC client and server connections are both established at the same
time, smc_connect_ism() cannot send a CLC confirm message while
smc_listen_work() is waiting for one due to lock contention. This can
result in timeouts in smc_clc_wait_msg() and failed SMC connections.
In case of SMC-D, the LGR pending lock is not needed while
smc_listen_work() is waiting for the CLC confirm message. So, this patch
releases the lock earlier for SMC-D to avoid the locking issue.
Signed-off-by: Hans Wippel <[email protected]>
Signed-off-by: Ursula Braun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions