tmp_suning_uos_patched/drivers/net/wireguard
Paul Moore 6950ee32c1 lsm,selinux: pass flowi_common instead of flowi to the LSM hooks
[ Upstream commit 3df98d79215ace13d1e91ddfc5a67a0f5acbd83f ]

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 wireguard: allowedips: free empty intermediate nodes when removing single node 2021-06-10 13:39:24 +02:00
allowedips.c wireguard: allowedips: add missing __rcu annotation to satisfy sparse 2021-12-08 09:03:22 +01:00
allowedips.h wireguard: allowedips: free empty intermediate nodes when removing single node 2021-06-10 13:39:24 +02:00
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 wireguard: allowedips: allocate nodes in kmem_cache 2021-06-10 13:39:24 +02:00
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 wireguard: use synchronize_net rather than synchronize_rcu 2021-06-10 13:39:24 +02:00
peer.h wireguard: peer: allocate in kmem_cache 2021-06-10 13:39:23 +02:00
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