On 14/04/2022 09:51, Tony Lu wrote: > Since commit e5d5aadcf3cd ("net/smc: fix sk_refcnt underflow on linkdown > and fallback"), for a fallback connection, __smc_release() does not call > sock_put() if its state is already SMC_CLOSED. > > When calling smc_shutdown() after falling back, its state is set to > SMC_CLOSED but does not call sock_put(), so this patch calls it. > > Reported-and-tested-by: syzbot+6e29a053eb165bd50de5@xxxxxxxxxxxxxxxxxxxxxxxxx > Fixes: e5d5aadcf3cd ("net/smc: fix sk_refcnt underflow on linkdown and fallback") > Signed-off-by: Tony Lu <tonylu@xxxxxxxxxxxxxxxxx> > --- Thank you. Acked-by: Karsten Graul <kgraul@xxxxxxxxxxxxx>