linux/drivers/net/wireguard
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
..
selftest
allowedips.c
allowedips.h
cookie.c
cookie.h
device.c wireguard: device: check for metadata_dst with skb_valid_dst() 2022-05-09 09:05:03 +02:00
device.h wireguard: receive: use ring buffer for incoming handshakes 2021-12-08 09:03:22 +01:00
main.c
Makefile
messages.h
netlink.c
netlink.h
noise.c lib/crypto: blake2s: move hmac construction into wireguard 2022-05-30 09:33:26 +02:00
noise.h
peer.c
peer.h
peerlookup.c
peerlookup.h
queueing.c wireguard: queueing: use CFI-safe ptr_ring cleanup function 2022-04-08 14:40:39 +02:00
queueing.h wireguard: receive: use ring buffer for incoming handshakes 2021-12-08 09:03:22 +01:00
ratelimiter.c wireguard: ratelimiter: use kvcalloc() instead of kvzalloc() 2021-12-08 09:03:23 +01:00
ratelimiter.h
receive.c wireguard: receive: drop handshakes if queue lock is contended 2021-12-08 09:03:22 +01:00
send.c
socket.c lsm,selinux: pass flowi_common instead of flowi to the LSM hooks 2022-06-09 10:21:09 +02:00
socket.h
timers.c
timers.h
version.h