switch wireguard over to a full supported backport for v5.4 kernels

Bug #1918659 reported by Andy Whitcroft
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
In Progress
Medium
Andy Whitcroft

Bug Description

Upstream produces a proper independent backport of wireguard for v5.4 based kernels. Due to the nature of the compat version in the DKMS packages some features are not implemented there leading to worse performance. This proper backport is now in use in the majority of distros which use the v5.4 base, and as such support for v5.4 is likely to end soon in the compat tree. Switch to using that backport.

tl;dr

$ git clone https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal
$ cd focal
$ git cherry-pick aa350dbe3a1ee5e062228f8f5ebd2ffb6e58709c b41352a93c163afafd29f56bb18fd3c0fef1120c
$ curl 'https://git.zx2c4.com/wireguard-linux/patch/?id2=gregkh/stable-5.4.y&id=backport-5.4.y' | git am -s

The whole series should apply cleanly. Afterwards, simply enable
CONFIG_WIREGUARD=y and you're good to go.

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Andy Whitcroft (apw)
description: updated
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Both of the scaffolding patches (aa350dbe3a1ee5e062228f8f5ebd2ffb6e58709c b41352a93c163afafd29f56bb18fd3c0fef1120c) are present in linux stable v5.4.91 which have been applied to focal/master-next.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.