[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170224.141350.309644401631820162.davem@davemloft.net>
Date: Fri, 24 Feb 2017 14:13:50 -0500 (EST)
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] rds: fix memory leak error
From: Zhu Yanjun <yanjun.zhu@...cle.com>
Date: Fri, 24 Feb 2017 04:28:01 -0500
> When the function register_netdevice_notifier fails, the memory
> allocated by kmem_cache_create should be freed by the function
> kmem_cache_destroy.
>
> Cc: Joe Jin <joe.jin@...cle.com>
> Cc: Junxiao Bi <junxiao.bi@...cle.com>
> Signed-off-by: Zhu Yanjun <yanjun.zhu@...cle.com>
Applied, thank you.
Powered by blists - more mailing lists