linux-stable/drivers/net/wireguard
Jason A. Donenfeld a12d7f3cbd wireguard: device: use icmp_ndo_send helper
Because wireguard is calling icmp from network device context, it should
use the ndo helper so that the rate limiting applies correctly.  This
commit adds a small test to the wireguard test suite to ensure that the
new functions continue doing the right thing in the context of
wireguard. It does this by setting up a condition that will definately
evoke an icmp error message from the driver, but along a nat'd path.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-13 14:19:00 -08:00
..
selftest
allowedips.c wireguard: allowedips: fix use-after-free in root_remove_peer_lists 2020-02-05 14:14:18 +01:00
allowedips.h
cookie.c
cookie.h
device.c wireguard: device: use icmp_ndo_send helper 2020-02-13 14:19:00 -08:00
device.h net: introduce skb_list_walk_safe for skb segment walking 2020-01-08 15:19:54 -08:00
main.c wireguard: main: remove unused include <linux/version.h> 2019-12-16 19:22:22 -08:00
Makefile
messages.h
netlink.c wireguard: noise: reject peers with low order public keys 2020-02-05 14:14:18 +01:00
netlink.h
noise.c wireguard: noise: reject peers with low order public keys 2020-02-05 14:14:18 +01:00
noise.h
peer.c
peer.h
peerlookup.c
peerlookup.h
queueing.c
queueing.h wireguard: queueing: do not account for pfmemalloc when clearing skb header 2020-01-05 14:08:32 -08:00
ratelimiter.c
ratelimiter.h
receive.c
send.c
socket.c wireguard: socket: mark skbs as not on list when receiving via gro 2020-01-05 14:08:32 -08:00
socket.h
timers.c
timers.h
version.h