Re: [PATCH 1/1] rds: fix memory leak error

2 messages, 2 authors, 2017-02-24 · open the first message on its own page

Re: [PATCH 1/1] rds: fix memory leak error

From: David Miller <hidden>
Date: 2017-02-24 19:12:25

From: Santosh Shilimkar <redacted>
Date: Fri, 24 Feb 2017 08:49:19 -0800
On 2/24/2017 1:28 AM, Zhu Yanjun wrote:
quoted
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 <redacted>
Cc: Junxiao Bi <redacted>
Signed-off-by: Zhu Yanjun <redacted>
---
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/1] rds: fix memory leak error

From: santosh.shilimkar@oracle.com <hidden>
Date: 2017-02-24 19:21:06

On 2/24/17 11:12 AM, David Miller wrote:
From: Santosh Shilimkar <redacted>
Date: Fri, 24 Feb 2017 08:49:19 -0800
quoted
On 2/24/2017 1:28 AM, Zhu Yanjun wrote:
quoted
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 <redacted>
Cc: Junxiao Bi <redacted>
Signed-off-by: Zhu Yanjun <redacted>
---
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help