[rds-devel] [PATCH 1/1] rds: fix memory leak error

santosh.shilimkar at oracle.com santosh.shilimkar at oracle.com
Fri Feb 24 11:20:32 PST 2017


On 2/24/17 11:12 AM, David Miller wrote:
> From: Santosh Shilimkar <santosh.shilimkar at oracle.com>
> Date: Fri, 24 Feb 2017 08:49:19 -0800
>
>> On 2/24/2017 1:28 AM, Zhu Yanjun wrote:
>>> 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 at oracle.com>
>>> Cc: Junxiao Bi <junxiao.bi at oracle.com>
>>> Signed-off-by: Zhu Yanjun <yanjun.zhu at oracle.com>
>>> ---
>> Minor nit with subject.
>> s/rds/RDS: TCP:
>
> Please, I definitely prefer people use all lowercase letters for
> the susbsystem prefix in the subject line.
>
Note for the future. Thanks Dave !!

Regards,
Santosh



More information about the rds-devel mailing list