linux/net/xfrm
Paul Moore 6950ee32c1 lsm,selinux: pass flowi_common instead of flowi to the LSM hooks
[ Upstream commit 3df98d7921 ]

As pointed out by Herbert in a recent related patch, the LSM hooks do
not have the necessary address family information to use the flowi
struct safely.  As none of the LSMs currently use any of the protocol
specific flowi information, replace the flowi pointers with pointers
to the address family independent flowi_common struct.

Reported-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: James Morris <jamorris@linux.microsoft.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:21:09 +02:00
..
espintcp.c
Kconfig
Makefile
xfrm_algo.c
xfrm_compat.c xfrm: rate limit SA mapping change message to user space 2022-01-27 10:54:18 +01:00
xfrm_device.c xfrm: enforce validity of offload input flags 2022-03-08 19:09:32 +01:00
xfrm_hash.c
xfrm_hash.h
xfrm_inout.h
xfrm_input.c
xfrm_interface.c xfrm: fix tunnel model fragmentation behavior 2022-04-08 14:39:47 +02:00
xfrm_ipcomp.c net: xfrm: Fix end of loop tests for list_for_each_entry 2021-08-26 08:35:35 -04:00
xfrm_output.c xfrm: remove the fragment check for ipv6 beet mode 2021-07-14 16:56:19 +02:00
xfrm_policy.c xfrm: rework default policy structure 2022-05-25 09:17:58 +02:00
xfrm_proc.c
xfrm_replay.c
xfrm_state.c lsm,selinux: pass flowi_common instead of flowi to the LSM hooks 2022-06-09 10:21:09 +02:00
xfrm_sysctl.c
xfrm_user.c xfrm: rework default policy structure 2022-05-25 09:17:58 +02:00