commit | 19d7df69fdb2636856dc8919de72fc1bf8f79598 | [log] [tgz] |
---|---|---|
author | Steffen Klassert <[email protected]> | Thu Feb 01 08:49:23 2018 +0100 |
committer | Steffen Klassert <[email protected]> | Fri Feb 02 09:23:23 2018 +0100 |
tree | ee6305700ada26831ec92f469be4fdb7d4199f4e | |
parent | 743ffffefac1c670c6618742c923f6275d819604 [diff] |
xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems We don't have a compat layer for xfrm, so userspace and kernel structures have different sizes in this case. This results in a broken configuration, so refuse to configure socket policies when trying to insert from 32 bit userspace as we do it already with policies inserted via netlink. Reported-and-tested-by: [email protected] Signed-off-by: Steffen Klassert <[email protected]>