]> git.baikalelectronics.ru Git - kernel.git/commit
wireguard: queueing: make use of ip_tunnel_parse_protocol
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 30 Jun 2020 01:06:21 +0000 (19:06 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 19:29:39 +0000 (12:29 -0700)
commitf7d303ae1d90a1498d75e160a501700f52cc6e22
tree4374d17938f2723916243f60bf2e4fe0c5e43b5c
parent76769bf9d57d005642e98af260294b83c2109608
wireguard: queueing: make use of ip_tunnel_parse_protocol

Now that wg_examine_packet_protocol has been added for general
consumption as ip_tunnel_parse_protocol, it's possible to remove
wg_examine_packet_protocol and simply use the new
ip_tunnel_parse_protocol function directly.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireguard/queueing.h
drivers/net/wireguard/receive.c