[rds-devel] [PATCH 1/1] net: rds: fix memory leak in rds_ib_flush_mr_pool
David Miller
davem at davemloft.net
Thu Jun 6 10:33:05 PDT 2019
From: Zhu Yanjun <yanjun.zhu at oracle.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 at oracle.com>
Applied and queued up for -stable.
More information about the rds-devel
mailing list