diff options
author | Jack Wang <[email protected]> | 2023-11-20 16:41:38 +0100 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-11-22 13:40:55 +0200 |
commit | 3ee7ecd712048ade6482bea4b2f3dcaf039c0348 (patch) | |
tree | 5ed02fc46edb7cb5b635f972f677b0d5e7b15e95 /scripts/generate_rust_analyzer.py | |
parent | b6f09b16558f31d93cdcda3cab90a2d309a7c823 (diff) |
RDMA/rtrs-srv: Do not unconditionally enable irq
When IO is completed, rtrs can be called in softirq context,
unconditionally enabling irq could cause panic.
To be on safe side, use spin_lock_irqsave and spin_unlock_irqrestore
instread.
Fixes: 9cb837480424 ("RDMA/rtrs: server: main functionality")
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Florian-Ewald Mueller <[email protected]>
Signed-off-by: Md Haris Iqbal <[email protected]>
Signed-off-by: Grzegorz Prajsner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions