From: Karsten Graul <kgr...@linux.ibm.com>
Date: Thu, 17 Sep 2020 22:46:02 +0200

> From: Ursula Braun <ubr...@linux.ibm.com>
> 
> If smc_listen_rmda_finish() returns with an error, the storage
> addressed by 'buf' is freed a second time.
> Consolidate freeing under a common label and jump to that label.
> 
> Fixes: 6bb14e48ee8d ("net/smc: dynamic allocation of CLC proposal buffer")
> Reported-by: Dan Carpenter <dan.carpen...@oracle.com>
> Signed-off-by: Ursula Braun <ubr...@linux.ibm.com>
> Signed-off-by: Karsten Graul <kgr...@linux.ibm.com>

Applied.

Reply via email to