Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 55e9a7a1 authored by zhong jiang's avatar zhong jiang Committed by basamaryan
Browse files

UPSTREAM: net/tls: Use kmemdup to simplify the code



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

Change-Id: Ic5890da7bbaad01827450741f41d2a53e7110685
Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e90a195e
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