aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorShyam Saini <[email protected]>2016-12-23 19:14:58 +0000
committerDavid S. Miller <[email protected]>2016-12-29 16:37:14 +0000
commit801822d1beea4f11a38df991b420ca917f6a917b (patch)
tree2e8ccd20864425053597d8c8448151463f7f7f70 /net/ipv4/tcp_ipv4.c
parentfddi: skfp: Use more common logging styles (diff)
downloadkernel-801822d1beea4f11a38df991b420ca917f6a917b.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions