diff options
author | Geliang Tang <geliangtang@gmail.com> | 2017-05-06 23:42:21 +0800 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-05-16 07:32:25 +0200 |
commit | a133d93054fa063fb3bd328abdc3d09a7e687afe (patch) | |
tree | 060e597d655c08c6ad6470e888798f9125ab9de2 /net/xfrm/xfrm_device.c | |
parent | a95cfad947d5f40cfbf9ad3019575aac1d8ac7a6 (diff) | |
download | talos-obmc-linux-a133d93054fa063fb3bd328abdc3d09a7e687afe.tar.gz talos-obmc-linux-a133d93054fa063fb3bd328abdc3d09a7e687afe.zip |
xfrm: use memdup_user
Use memdup_user() helper instead of open-coding to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_device.c')
0 files changed, 0 insertions, 0 deletions