Re: [PATCH net 1/1] net/smc: save link group ptr before calling smc_buf_unuse

2018-10-23 Thread David Miller
From: Ursula Braun Date: Tue, 23 Oct 2018 15:48:05 +0200 > @@ -315,6 +314,8 @@ static void smc_buf_unuse(struct smc_connection *conn) > /* remove a finished connection from its link group */ > void smc_conn_free(struct smc_connection *conn) > { > + struct smc_link_group *lgr; > + >

[PATCH net 1/1] net/smc: save link group ptr before calling smc_buf_unuse

2018-10-23 Thread Ursula Braun
From: Karsten Graul The pointer to the link group is unset in the smc connection structure right before the call to smc_buf_unuse. Save the pointer and provide it to smc_buf_unuse. Fixes: a6920d1d130c ("net/smc: handle unregistered buffers") Signed-off-by: Karsten Graul Signed-off-by: Ursula