]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: cancel event worker during device removal
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 10 Mar 2020 08:33:30 +0000 (09:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 22:40:33 +0000 (15:40 -0700)
commit8d3da223de09bb8de2e58aa037ce1d322a6960d8
treef81d38d1ffb862c1627f32b9aab0b5678d4b0df2
parent90c986256e061735bf4126c0cfd44220964b9766
net/smc: cancel event worker during device removal

During IB device removal, cancel the event worker before the device
structure is freed.

Fixes: 0bb7e7b2f4d9 ("smc: introduce SMC as an IB-client")
Reported-by: syzbot+b297c6825752e7a07272@syzkaller.appspotmail.com
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_ib.c