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

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
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