From: Karsten Graul <kgraul@xxxxxxxxxxxxx> Date: Tue, 15 Sep 2020 22:57:09 +0200 > smc->clcsock and smc->clcsock->sk are used before the check if they can > be dereferenced. Fix this by checking the variables first. > > Fixes: a60a2b1e0af1 ("net/smc: reduce active tcp_listen workers") > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Karsten Graul <kgraul@xxxxxxxxxxxxx> Applied, thank you.