Skip to content
Commit 969d5090 authored by zhong jiang's avatar zhong jiang Committed by David S. Miller
Browse files

net/tls: Use kmemdup to simplify the code



Kmemdup is better than kmalloc+memcpy. So replace them.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b053fcc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment