From: Karsten Graul <kgraul@xxxxxxxxxxxxx> Date: Wed, 26 Feb 2020 17:52:46 +0100 > In smc_ib_remove_dev() check if the provided ib device was actually > initialized for SMC before. > > Reported-by: syzbot+84484ccebdd4e5451d91@xxxxxxxxxxxxxxxxxxxxxxxxx > Fixes: a4cf0443c414 ("smc: introduce SMC as an IB-client") > Signed-off-by: Karsten Graul <kgraul@xxxxxxxxxxxxx> Applied and queued up for -stable, thanks.