aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-selectmap.c
diff options
context:
space:
mode:
authorBernard Metzler <[email protected]>2023-07-28 13:44:18 +0200
committerLeon Romanovsky <[email protected]>2023-07-31 10:05:23 +0300
commit91f36237b4b9bdce7610c7450a906d46704a566a (patch)
treed41b0b47884b3f4656d202143d43ffe0dcbc3d89 /drivers/fpga/xilinx-selectmap.c
parenta45e5f1859579f88df624997c38c05706f9015e3 (diff)
RDMA/siw: Fix tx thread initialization.
Immediately removing the siw module after insertion may crash in siw_stop_tx_thread(), if the according thread did not yet had a chance to initialize its wait queue and siw_stop_tx_thread() tries to wakeup that thread. Initializing the threads state before spwaning it fixes it. Reported-by: Guoqing Jiang <[email protected]> Signed-off-by: Bernard Metzler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Guoqing Jiang <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions