| Message ID | cover.1795703343.git.ralf@mandelbit.com |
|---|---|
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:6022:91c9:10b0:11b:d6c:f273 with SMTP id
tl9-n1csp7290269lad;
Thu, 26 Nov 2026 06:45:39 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AL+hErHDS/wrE1tKTpifjG1rWCNiNWEGH6mUNC+JZAB4Y66C+ZiOcGZTo1YbELk4ZadhQNeQkWIGFlgkF3A=@openvpn.net
X-Received: by 2002:a05:7301:1506:b0:386:a554:1074 with SMTP id
5a478bee46e88-386a554157emr16490908eec.25.1795704338786;
Thu, 26 Nov 2026 06:45:38 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1795704338; cv=none;
d=google.com; s=arc-20260327;
b=C0ONvdnmhdbj9mccdpEW3OriTDgHlUoW24L2rdzPJm6T838+f71isq29wMB5a/bugz
ZzoGersRFqETvKIL+2QMqFeY+Y9GhuxT77YrN/JLEqJy80FMT0C52tMa75y7ez8fHLIf
RcDDkCUtoJ07DB6b/a710r7gvLjwEJZygfgeBFfWME5HoMa6StJRZncnoPPbmkgnbxZB
+t40jiY3HEBFaBd7kn3YCl6xuSHINgfNDeW4/6hU1WuMvegbOAm4zQl75qNeHeU9/a1T
GGyQAK04D/DS5xPAIUHuL6pvARPLNzMGYR9PwPYqILXYCpQwlNWQ+8pDDI9EJpYTvcBv
0hSg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=errors-to:content-transfer-encoding:list-subscribe:list-help
:list-post:list-archive:list-unsubscribe:list-id:precedence:subject
:mime-version:message-id:date:to:from:dkim-signature:dkim-signature
:dkim-signature:dkim-signature;
bh=ShuNJZRjYc80661OJFDOhsnH0bNZ02W2cbvPzsCsids=;
fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=;
b=s6cGu54MGox1NTkJbrqHB/yyvJQeSF4EuDREhaFSN6LvzMnIiHBIyzukI8kre6LZsh
Mw4ejkhr0cnfD2ctItOe/Lt3uClAZ3YjSHnnVHTKg5aBC+zmc9VIi4MSVYSOgFuAJV98
SR+Z+astUM7ZHNcZXc4wMztEd//dpx1eXYA4rZgENETF3faJQpWQkccx+J7o20RYQ0W1
fGVFoFixdaq7Fxdld5nRX94R75KZ2aO1GRhYNyLjcv/EV7TwqYtea1dEEwOOdspk6Bee
XivaWrXJIk3ldpd8T3/bE7npuJ0TMCmjQAOlyX4q+Axxjch1YQKpHSLNbSVJn0vFGBLd
GYcw==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=iknzfFq4;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=ABZMzUyu;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b="CPpyD/lg";
dkim=neutral (body hash did not verify) header.i=@mandelbit.com
header.s=MBO0001 header.b=CFqVahjr;
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net
Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7])
by mx.google.com with ESMTPS id
5a478bee46e88-38564766e20si75955840eec.7.2026.11.26.06.45.38
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Thu, 26 Nov 2026 06:45:38 -0800 (PST)
Received-SPF: pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) client-ip=216.105.38.7;
Authentication-Results: mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=iknzfFq4;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=ABZMzUyu;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b="CPpyD/lg";
dkim=neutral (body hash did not verify) header.i=@mandelbit.com
header.s=MBO0001 header.b=CFqVahjr;
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:
List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:
Subject:MIME-Version:Message-ID:Date:To:From:Sender:Reply-To:Cc:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:In-Reply-To:References:List-Unsubscribe-Post:List-Owner;
bh=ShuNJZRjYc80661OJFDOhsnH0bNZ02W2cbvPzsCsids=; b=iknzfFq4jv5mGEpMlPwNVrGIQ3
oWiQUuoUe4H1AOvKqnBcPofmSnl5Wob8tg28Y/pXrYybH7/W8Wqq0CJjMJhzkHVMlN4WWAKIDuZN6
NoC6KT6w8vc3TVCa9DrBDlefXNgjtWw1KwHp7w/cBHD3ovFlQgx4nF+7eXKfm4ZkxMTA=;
Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com)
by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.100.1)
(envelope-from <openvpn-devel-bounces@lists.sourceforge.net>)
id 1xWajB-000000006Uu-40i8;
Thu, 26 Nov 2026 14:45:37 +0000
Received: from [172.30.29.66] (helo=mx.sourceforge.net)
by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1)
(envelope-from <ralf@mandelbit.com>) id 1xWaj7-000000006Uk-2JcN
for openvpn-devel@lists.sourceforge.net;
Thu, 26 Nov 2026 14:45:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-ID:
Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive;
bh=I0dl1zbvAzHeljxy6OtTZrvHFzfgfvq+yA3MIle+DRo=; b=ABZMzUyurUmMOVmFZcE4QuvB08
B/LxhhQ1JtatiBnVnPrBRur9P/Jy/nMhEyrrLmQelMipcaRXM0L4OwXj0Se77KY+KWrWM7IPd25G5
J1WrVLI0tiTIJTAsOnL+JenPaZ/fJlsui0LsCTB+Ze80aB4a7CZvvpIMd6XYEO9OnXhM=;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x
;
h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:To:From:
Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description:Resent-Date:
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:
References:List-Id:List-Help:List-Unsubscribe:List-Unsubscribe-Post:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=I0dl1zbvAzHeljxy6OtTZrvHFzfgfvq+yA3MIle+DRo=; b=CPpyD/lgJGNNIJN7KGQpSc/Od5
4WFXXNid11rh3JSp1e3/9rbBRZV3o2H4gAdRi0EKMCl6vTz2qrFT4L+1vzdEz+TH3nAZ/eAhjHH7X
rnSJauYHsdOjB0CfJitVaOFf0ItwEbRcRW5cOkxK3LKZZEIw5oxorBJ0x4PhZZWcbKQI=;
Received: from mout-b-106.mailbox.org ([195.10.208.46])
by sfi-mx-1.v28.lw.sourceforge.com with esmtps
(TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1)
id 1xWaj5-000000001wf-2V8Z for openvpn-devel@lists.sourceforge.net;
Thu, 26 Nov 2026 14:45:33 +0000
Received: from smtp1.mailbox.org (smtp1.mailbox.org
[IPv6:2001:67c:2050:b231:465::1])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits)
server-digest
SHA256) (No client certificate requested)
by mout-b-106.mailbox.org (Postfix) with ESMTPS id 4jZzqQ46HSzNlg3
for <openvpn-devel@lists.sourceforge.net>;
Thu, 26 Nov 2026 15:45:22 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com;
s=MBO0001; t=1795704322;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding;
bh=I0dl1zbvAzHeljxy6OtTZrvHFzfgfvq+yA3MIle+DRo=;
b=CFqVahjrNGg7Roi8A9lN9DueIKE1KWWHLLKIuDaCaQefi4JFRjYZ3jisLIdRXw9w2DLbTV
sLjofyN4rBGug9Edh/kX31u8ZTQPVaw1QtEmDUc5yOwKv757qYA2NzPbV0OixKbFOv/XdO
Al7GgVL8a3oGVyoUehRoBeGadUvV5V/ZQ1erqwqPyvWvniai1AXRomMaTa+xAN+BsX1kAY
cd7V+alMssXQBPb9n/vTwwcDmiYKkm/WVGJT/xmCP03YqnnEs0hAtvITkPX140Ju3MI6oj
3OyVR6rJ1rEBKlCuY9bfcHP1QrV+VFTgkaCxOPWHib6fHq9EY7bWy1OvikTv2Q==
Authentication-Results: outgoing_mbo_mout; dkim=none;
spf=pass (outgoing_mbo_mout: domain of ralf@mandelbit.com designates
2001:67c:2050:b231:465::1 as permitted sender)
smtp.mailfrom=ralf@mandelbit.com
From: Ralf Lici <ralf@mandelbit.com>
To: openvpn-devel@lists.sourceforge.net
Date: Thu, 26 Nov 2026 15:45:08 +0100
Message-ID: <cover.1795703343.git.ralf@mandelbit.com>
X-Mailer: git-send-email 2.56.0
MIME-Version: 1.0
X-Rspamd-Queue-Id: 4jZzqQ46HSzNlg3
X-Spam-Score: -0.2 (/)
X-Spam-Report: Spam detection software,
running on the system "sfi-spamd-2.hosts.colo.sdot.me",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Hi,
This series fixes a few issues that Sashiko reported while
reviewing earlier ovpn patches and that were still present on current
ovpn-net-next
main. All of them are pre-existing problems, not regressi [...]
Content analysis details: (-0.2 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
domain
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
X-Headers-End: 1xWaj5-000000001wf-2V8Z
Subject: [Openvpn-devel] [PATCH ovpn net 0/3] ovpn: fix issues reported by
Sashiko
X-BeenThere: openvpn-devel@lists.sourceforge.net
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <openvpn-devel.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel>
List-Post: <mailto:openvpn-devel@lists.sourceforge.net>
List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: openvpn-devel-bounces@lists.sourceforge.net
X-getmail-retrieved-from-mailbox: Inbox
X-GMAIL-THRID: 1882932472911186059
X-GMAIL-MSGID: 1882932472911186059
|
| Series |
ovpn: fix issues reported by Sashiko
|
|
Message
Ralf Lici
Nov. 26, 2026, 2:45 p.m. UTC
Hi, This series fixes a few issues that Sashiko reported while reviewing earlier ovpn patches and that were still present on current ovpn-net-next main. All of them are pre-existing problems, not regressions introduced by the patches under review, which is why they went unaddressed so far. Patch 1 resets the peer dst cache before publishing a new bind when the remote or local endpoint changes. With the opposite order a concurrent TX could pair the new bind with a route cached for the old one, and on a cross-family float even get a dst of the wrong family. Patch 2 drops the netdev reference from the peer RCU callback instead of right after call_rcu, where the peer could already have been freed. Patch 3 makes the duplicate VPN address selftests require the expected error, so that they cannot pass on an unrelated failure. Each patch links to the Sashiko report it addresses. Thanks, Ralf Lici Mandelbit Srl --- Ralf Lici (3): ovpn: reset dst cache before publishing a new bind ovpn: release netdev reference from the peer RCU callback selftests: ovpn: check the error of duplicate VPN address tests drivers/net/ovpn/netlink.c | 7 +++++- drivers/net/ovpn/peer.c | 15 ++++++++----- tools/testing/selftests/net/ovpn/common.sh | 21 +++++++++++++++++ tools/testing/selftests/net/ovpn/test.sh | 26 ++++++++++++++++------ 4 files changed, 55 insertions(+), 14 deletions(-) base-commit: 7ccc5e05043b1bb84326b19a2b05938d8f7a2ae6