Re: [PATCH net-next 1/1] net/smc: check variable before dereferencing in smc_close.c

2020-09-16 Thread David Miller
From: Karsten Graul 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

[PATCH net-next 1/1] net/smc: check variable before dereferencing in smc_close.c

2020-09-15 Thread Karsten Graul
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 Reported-by: Dan Carpenter Signed-off-by: Karsten Graul --- net/sm