diff options
| author | 2016-12-24 00:44:58 +0530 | |
|---|---|---|
| committer | 2016-12-29 11:37:14 -0500 | |
| commit | 801822d1beea4f11a38df991b420ca917f6a917b (patch) | |
| tree | 2e8ccd20864425053597d8c8448151463f7f7f70 /net/ipv6/tcp_ipv6.c | |
| parent | fddi: skfp: Use more common logging styles (diff) | |
| download | wireguard-linux-801822d1beea4f11a38df991b420ca917f6a917b.tar.xz wireguard-linux-801822d1beea4f11a38df991b420ca917f6a917b.zip | |
net: Use kmemdup instead of kmalloc and memcpy
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 <mayhs11saini@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
