From: Karsten Graul <kgr...@linux.ibm.com> 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 <l...@intel.com> > Reported-by: Dan Carpenter <dan.carpen...@oracle.com> > Signed-off-by: Karsten Graul <kgr...@linux.ibm.com> Applied, thank you.