Re: [PATCH] iser: fix tasks leak with all its resources

FUJITA Tomonori <[email protected]> Mon, 26 Jan 2015 13:23:40 +0900 (JST)
Newsgroups org.kernel.vger.stgt
Message-ID <20150126.132340.1305564732068174437.fujita.tomonori@lab.ntt.co.jp>
Very sorry about the delay,

On Wed,  7 Jan 2015 18:42:14 +0200
Roi Dayan <[email protected]> wrote:

> On timewait_exit cm event we expect to put the last refcount on conn and
> release it. Since we already after the connection was closed we
> could have tasks in tx_list that won't be processed.
> We need to clean them or refcount won't reach 0.
> Not cleaning the tasks will also leak any rdma_bufs associated with those
> tasks.
> 
> Signed-off-by: Roi Dayan <[email protected]>
> ---
>  usr/iscsi/iser.c | 22 +++++++++++++++++++++-
>  1 file changed, 21 insertions(+), 1 deletion(-)

Applied, thanks a lot!