aboutsummaryrefslogtreecommitdiffstats
path: root/net/smc/smc_llc.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2018-09-18 15:46:34 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-18 20:11:43 -0700
commit648a5a7aed346c3b8fe7c32a835edfb0dfbf4451 (patch)
tree23429e17d25b1036bc1f64f947b025952cbac349 /net/smc/smc_llc.c
parentravb: do not write 1 to reserved bits (diff)
downloadlinux-dev-648a5a7aed346c3b8fe7c32a835edfb0dfbf4451.tar.xz
linux-dev-648a5a7aed346c3b8fe7c32a835edfb0dfbf4451.zip
net/smc: fix non-blocking connect problem
In state SMC_INIT smc_poll() delegates polling to the internal CLC socket. This means, once the connect worker has finished its kernel_connect() step, the poll wake-up may occur. This is not intended. The wake-up should occur from the wake up call in smc_connect_work() after __smc_connect() has finished. Thus in state SMC_INIT this patch now calls sock_poll_wait() on the main SMC socket. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_llc.c')
0 files changed, 0 insertions, 0 deletions