[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 06 Jun 2019 10:33:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanjun.zhu@...cle.com
Cc: santosh.shilimkar@...cle.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, rds-devel@....oracle.com
Subject: Re: [PATCH 1/1] net: rds: fix memory leak in rds_ib_flush_mr_pool
From: Zhu Yanjun <yanjun.zhu@...cle.com>
Date: Thu, 6 Jun 2019 04:00:03 -0400
> When the following tests last for several hours, the problem will occur.
...
> When ibmr_ret is NULL, llist_entry is not executed. clean_nodes->next
> instead of clean_nodes is added in clean_list.
> So clean_nodes is discarded. It can not be used again.
> The workqueue is executed periodically. So more and more clean_nodes are
> discarded. Finally the clean_list is NULL.
> Then this problem will occur.
>
> Fixes: 1bc144b62524 ("net, rds, Replace xlist in net/rds/xlist.h with llist")
> Signed-off-by: Zhu Yanjun <yanjun.zhu@...cle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists