Skip to content
Commit 54489c14 authored by David S. Miller's avatar David S. Miller
Browse files

[XFRM] xfrm_user: Fix unaligned accesses.



Use memcpy() to move xfrm_address_t objects in and out
of netlink messages.  The vast majority of xfrm_user was
doing this properly, except for copy_from_user_state()
and copy_to_user_state().

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 201a95af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment