commit | 54489c14c058822f7019648b3718bd3820dee802 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Fri Oct 27 15:29:47 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Oct 30 15:24:35 2006 -0800 |
tree | f51a5ff43b3f39b9bba582000f5752887f9c9df6 | |
parent | 201a95afaa324b23188eeec268f6bb0b4b70b710 [diff] |
[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: David S. Miller <davem@davemloft.net>