Re: [PATCH net v4] net/smc: Reset conn->lgr when link group registration fails

From: Wen Gu
Date: Thu Jan 06 2022 - 06:33:48 EST




On 2022/1/6 6:00 pm, Karsten Graul wrote:

Looks like I missed a prereq patch here, but wo'nt conn->lgr be set to NULL
after smc_conn_free() called smc_lgr_unregister_conn()?

Right... I should hold a local copy of lgr in smc_conn_abort().

My another RFC patch removes 'conn->lgr = NULL' from smc_lgr_unregister_conn(),
so I make a mistake here...

I will fix this. Thank you.

Wen Gu