Date: Tue, 25 Nov 2025 09:49:27 +0000 From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 58eacc815513 - stable/14 - if_ovpn: use IFT_TUNNEL Message-ID: <69257ba7.32f2b.3690945c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=58eacc815513ceecbeb08783475e1b9375c7370a commit 58eacc815513ceecbeb08783475e1b9375c7370a Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-11-17 19:42:24 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-11-25 09:39:08 +0000 if_ovpn: use IFT_TUNNEL IFT_ENC has special behaviour in pf we don't desire, and this also ensures that for all interface types there is N:1:1 correspondence between if_type:dlt:header len. Requested by: glebius MFC after: 1 week (cherry picked from commit ff9f76a206c80c263050816735d537a151ee2999) --- sys/net/if_ovpn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if_ovpn.c b/sys/net/if_ovpn.c index 13e6db2764fb..631b3f4dfa26 100644 --- a/sys/net/if_ovpn.c +++ b/sys/net/if_ovpn.c @@ -2726,7 +2726,7 @@ ovpn_clone_create(struct if_clone *ifc, char *name, size_t len, return (EEXIST); sc = malloc(sizeof(struct ovpn_softc), M_OVPN, M_WAITOK | M_ZERO); - sc->ifp = if_alloc(IFT_ENC); + sc->ifp = if_alloc(IFT_TUNNEL); rm_init_flags(&sc->lock, "if_ovpn_lock", RM_RECURSE); sc->refcount = 0;help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69257ba7.32f2b.3690945c>
