immortalwrt/package/network/services
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
..
dnsmasq dnsmasq: bump to 2.81 2020-06-06 22:32:57 +08:00
dropbear dropbear: make rsa-sha2-256 pubkeys usable again 2020-07-08 12:00:54 +08:00
ead treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
hostapd Merge Lean's source 2020-05-30 12:25:05 +08:00
igmpproxy treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
ipset-dns fix permission 2019-09-30 14:27:46 +08:00
lldpd lldpd: add management IP setting 2020-05-10 12:07:11 +08:00
odhcpd odhcpd: bump to latest git HEAD 2020-07-04 11:35:33 +08:00
omcproxy treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
openvpn openvpn: add generic hotplug mechanism 2020-06-18 08:05:10 +08:00
openvpn-easy-rsa fix permission 2019-09-30 14:27:46 +08:00
ppp ppp: refresh patches 2020-07-08 15:11:21 +08:00
relayd relayd: bump to version 2020-04-25 2020-04-30 18:55:46 +08:00
samba36 samba36: smb.conf.template socktet settings 2019-10-12 08:24:08 -07:00
shellsync shellsync: add kmod-macvlan depend 2020-03-08 03:04:16 -07:00
uhttpd uhttpd: fix script timeout 2020-06-06 20:29:26 +08:00
umdns umdnsd: update to latest git HEAD 2020-06-11 11:58:12 +08:00
wireguard wireguard: bump to 1.0.20200712 2020-07-14 01:11:59 +08:00