[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200916.173439.1724773929942352474.davem@davemloft.net>
Date: Wed, 16 Sep 2020 17:34:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kgraul@...ux.ibm.com
Cc: netdev@...r.kernel.org, linux-s390@...r.kernel.org,
heiko.carstens@...ibm.com, raspl@...ux.ibm.com,
ubraun@...ux.ibm.com
Subject: Re: [PATCH net-next 1/1] net/smc: check variable before
dereferencing in smc_close.c
From: Karsten Graul <kgraul@...ux.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 <lkp@...el.com>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Karsten Graul <kgraul@...ux.ibm.com>
Applied, thank you.
Powered by blists - more mailing lists