immortalwrt/package
Jason A. Donenfeld 3e9eac6b1d
wireguard: bump to 1.0.20200712
This release brings parity with the commits Linus released a few hours
ago into 5.8-rc5.

* receive: account for napi_gro_receive never returning GRO_DROP

The napi_gro_receive function no longer returns GRO_DROP ever, making
handling GRO_DROP dead code. This commit removes that dead code.
Further, it's not even clear that device drivers have any business in
taking action after passing off received packets; that's arguably out of
their hands.

* device: implement header_ops->parse_protocol for AF_PACKET

WireGuard uses skb->protocol to determine packet type, and bails out if
it's not set or set to something it's not expecting. For AF_PACKET
injection, we need to support its call chain of:

    packet_sendmsg -> packet_snd -> packet_parse_headers ->
      dev_parse_header_protocol -> parse_protocol

Without a valid parse_protocol, this returns zero, and wireguard then
rejects the skb. So, this wires up the ip_tunnel handler for layer 3
packets for that case.

* 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.

* compat: backport ip_tunnel_parse_protocol and ip_tunnel_header_ops

These are required for moving wg_examine_packet_protocol out of
wireguard and into upstream.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-07-14 01:11:59 +08:00
..
base-files base-files/functions.sh: use command -v instead of which 2020-07-12 12:25:13 +08:00
boot Merge Lean's source 2020-06-28 17:50:37 +08:00
ctcgfw gost: init: convert to procd 2020-07-13 00:37:20 +08:00
devel gdb: Fix build on AArch64 (#4619) 2020-05-18 09:37:14 +08:00
firmware linux-firmware: package EIP197 mini firmware 2020-07-12 11:58:32 +08:00
kernel kernel: kmod-zram: break the strict dependency from lz4 2020-07-12 12:08:32 +08:00
lean luci-app-flowoffload: fix kernel limitation 2020-07-12 23:57:25 +08:00
libs libubox: update to version 2020-07-11 2020-07-12 23:11:48 +08:00
lienol luci-app-passwall: fix typo error of kcptun 2020-07-13 20:41:32 +08:00
network wireguard: bump to 1.0.20200712 2020-07-14 01:11:59 +08:00
ntlf9t AdGuardHome: call native compiler to pack binary 2020-07-07 23:24:02 +08:00
system zram-swap: correctly express the required dependencies 2020-07-12 12:11:14 +08:00
utils busybox: store applet usage messages uncompressed 2020-07-12 12:25:35 +08:00
zxlhhyccc syncthing: bump to v1.7.0 2020-07-07 23:33:07 +08:00
Makefile sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00