configs: Enable OVPN (OpenVPN data channel offload) as module - #7569
Open
teddythomas wants to merge 1 commit into
Open
configs: Enable OVPN (OpenVPN data channel offload) as module#7569teddythomas wants to merge 1 commit into
teddythomas wants to merge 1 commit into
Conversation
The ovpn module enables the OpenVPN data channel offload kernel module, which was released first in Linux 6.16. Prior to Linux 6.16, this capability could be obtained via the out-of-tree ovpn-dco kernel module, usable only with OpenVPN 2.6.x and older. The ovpn-dco kernel module is available in Debian via the package openvpn-dco-dkms. However the version that is available in Trixie fails to build the kernel module with the 6.18 kernel headers. The ovpn module that is built into the kernel is usable only with OpenVPN 2.7.0 and newer, which is available via Debian's trixie-backports repository. Signed-off-by: Teddy Thomas <6772985+teddythomas@users.noreply.github.com>
teddythomas
force-pushed
the
configs-enable-ovpn
branch
from
August 24, 2026 14:50
4d08248 to
cc3f90f
Compare
Author
|
The commit message was updated to provide a description rather than a one-liner; raised by the Advisory checkpatch review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request enables the OpenVPN data channel offload kernel module, which was first released in Linux 6.16.
Why
This module "replaces" the Debian package openvpn-dco-dkms, which was providing data channel offload capability prior to Linux 6.16.
The current openvpn-dco-dkms Debian Trixie package fails to build its kernel module when using the 6.18 kernel headers, hence since the kernel 6.18 upgrade, OpenVPN data channel offload is not available on Raspberry Pi OS.
OpenVPN 2.7 can be installed from the trixie-backports in order to use the built-in ovpn kernel module.
The Debian project enabled this module with the commit https://salsa.debian.org/kernel-team/linux/-/commit/3a80e1587a3d0656addc078044c0771e0d37318b
What
When built using
bcm2711_defconfig, the kernel moduleovpn.kofile size is 128216 bytes.