2021-03-11 12:18:54 |
Andy Whitcroft |
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. |
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. |
|