Re: [PATCH] net: Use kmemdup instead of kmalloc and memcpy

From
David Miller <davem@davemloft.net>
Date
2016-12-28 01:16:47
Also in
virtualization
Reply to
Shyam Saini, 2016-12-23
From: Shyam Saini <redacted>
Date: Sat, 24 Dec 2016 00:44:58 +0530
when some other buffer is immediately copied into allocated region.
Replace calls to kmalloc followed by a memcpy with a direct
call to kmemdup.

Signed-off-by: Shyam Saini <redacted>
Applied.
Thread (2 messages) 2 messages, 2 authors, last reply 2016-12-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help