UPSTREAM: net/tls: Use kmemdup to simplify the code
Kmemdup is better than kmalloc+memcpy. So replace them. Change-Id: Ic5890da7bbaad01827450741f41d2a53e7110685 Signed-off-by:zhong jiang <zhongjiang@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment