linux/drivers/net/wireguard
Jason A. Donenfeld 2b8765c52d wireguard: receive: remove dead code from default packet type case
The situation in which we wind up hitting the default case here
indicates a major bug in earlier parsing code. It is not a usual thing
that should ever happen, which means a "friendly" message for it doesn't
make sense. Rather, replace this with a WARN_ON, just like we do earlier
in the file for a similar situation, so that somebody sends us a bug
report and we can fix it.

Reported-by: Fabian Freyer <fabianfreyer@radicallyopensecurity.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-18 18:51:43 -07: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: queueing: account for skb->protocol==0 2020-03-18 18:51:43 -07: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: account for skb->protocol==0 2020-03-18 18:51:43 -07:00
ratelimiter.c
ratelimiter.h
receive.c wireguard: receive: remove dead code from default packet type case 2020-03-18 18:51:43 -07:00
send.c wireguard: send: account for mtu=0 devices 2020-02-16 19:21:56 -08:00
socket.c wireguard: socket: remove extra call to synchronize_net 2020-02-16 19:21:56 -08:00
socket.h
timers.c
timers.h
version.h