From patchwork Sun Nov 29 21:24:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 5816 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:6022:91c9:10b0:11b:d6c:f273 with SMTP id tl9-n1csp11992504lad; Sun, 29 Nov 2026 13:24:53 -0800 (PST) X-Forwarded-Encrypted: i=2; AL+hErFNSuuJZnVav3nhztfQQ9z0h/C9EnLFUPNVolb1+BUQKMDzGnTApdBKXTlM2rJq7k9I2mRDLd/dMc8=@openvpn.net X-Received: by 2002:a05:7300:f14e:b0:386:d917:8d8a with SMTP id 5a478bee46e88-386d91794ecmr12476429eec.27.1795987492849; Sun, 29 Nov 2026 13:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1795987492; cv=none; d=google.com; s=arc-20260327; b=Errf3hNVUzd5SSubUwGez0BLJv8gMQkeDgJOsHmkHETo07xDOm6F2x0EeLQSn5UTeF +xXHYp8jKdDTtuWHomTEm0nh6kuiK4bn6cDpTDR0jDtRLkSXdnq7lmdx3mrSwAKP2utu rQBE9fuD3VO+DRa04ifcO+PzHtsNCXWizO5dedCKKRrdDmlPRIEU+a+LB7l41uwPGTGF WG3JV2KK7KAlPzYRkysPHeDKwQz9LmvWBIspY9haX6hf72jcgb3pMOUDGmkhQObU419b Gm1rrRtPpSHCmmModOGIt4v3IHUYEsELJqsmTN05k+2Rx015HKkP9IKIfhinuDaV16ce N4dQ== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=rClBs7E53tPC/QTxaKz8qlRK9oYmRCpp9kBi7SL9CEw=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=YPcHKRBCexmK+AAziT1mvuaNKtY80dztCiZRkNXa8iQxHkQRVjuWx0AAwBmfROAfwR VhdvsilbXxgZR8vhDkvgJzR4QBA08MkQCTxtCKinE+xNzjxsSmmuWW7od8g3grmdcQVm aE2VttzzRrajcC7aiPImjlAyo5iue+vQ4uxjEU5Xwg5moIwpVoaO/EvnyWqebTEH7SgN NUjLsZ1DY3nKtOU8TwL9Iu3OEr2x4xr/+c731luRwPiVEgrocDKMzbQE9liiO/zFgbA4 MlnyYa4r+mrHdP1ryorNq92E5S5V4X8tbRCOF0brMpzeVGj+CsalltWkjWMl0w6pIPb0 d6ow==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=nM3o5ziw; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b="Z/OsgXtp"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=OnWQk6SQ; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 5a478bee46e88-386b84ef63bsi49279426eec.43.2026.11.29.13.24.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Nov 2026 13:24:52 -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=nM3o5ziw; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b="Z/OsgXtp"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=OnWQk6SQ; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de 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:References:In-Reply-To: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:List-Unsubscribe-Post: List-Owner; bh=rClBs7E53tPC/QTxaKz8qlRK9oYmRCpp9kBi7SL9CEw=; b=nM3o5ziwwutkRr bLnyxToqnvmIBEdCt5812sc7K2qm35N0WQTz/2SHIh58zdqW5JDnF0LpduLlJHRyv/bYiq03MQG/o AIDlz0YOeUobHHCHNgI7/0vKijDP/FYpE9TP/0fK3+9fnXbolmBu+HFn1qKF74edms64B/rxEaIJw IEw=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xXmO8-000000008TF-48mM; Sun, 29 Nov 2026 21:24:48 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xXmO6-000000008T8-2sEA for openvpn-devel@lists.sourceforge.net; Sun, 29 Nov 2026 21:24:46 +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:References: In-Reply-To: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:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=srdXuZevGc7iqqy639jTfouo8lzYPSaVOxOEdgXNvKM=; b=Z/OsgXtpR9YXZzSHvc00aMI7Fv cKT/paP2JTBwGA36sb++tMz26GlkrWQTwqjmfNYLuNtY4YOtFKgPR0qSUM7by5ECC5CPVY2p84QgA aJeOJ5yGUKtBCWU2EKRT5wE7kSOhBpRpcnO/fk+sHvdSaRqlACCRA3B3vTgn0e+eO4yg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Id:List-Help:List-Unsubscribe:List-Unsubscribe-Post: List-Subscribe:List-Post:List-Owner:List-Archive; bh=srdXuZevGc7iqqy639jTfouo8lzYPSaVOxOEdgXNvKM=; b=OnWQk6SQ9H9IOjLFqM4XyHVdei BzVmtNjozbYXKiI3N1anuQ9o1dJBPu/UpxPf0A62c3qzRu1bAJ6s31OjxQuw7EwGLv1J6MOYxvdRh DwNXViYY0u6iu7tKk7Sfc6cFDb1cpOR+RA+GaemRj5dz/APkm53ufw8cEEAzwwbZhFVg=; Received: from [193.149.48.129] (helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xXmO5-000000001QN-122L for openvpn-devel@lists.sourceforge.net; Sun, 29 Nov 2026 21:24:46 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 6ATLOcRc008443 for ; Sun, 29 Nov 2026 22:24:38 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 6ATLOchM008442 for openvpn-devel@lists.sourceforge.net; Sun, 29 Nov 2026 22:24:38 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Sun, 29 Nov 2026 22:24:32 +0100 Message-ID: <20261129212437.8418-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "sfi-spamd-1.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: From: Razvan Cojocaru dco_check_key_ctx() was declared in commit e34437c2 ("dco: introduce low-level code for handling ovpn-dco in the Linux kernel") but never defined. The ovpn_nl_cb typedef lost its last user in commit f [...] Content analysis details: (1.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Headers-End: 1xXmO5-000000001QN-122L Subject: [Openvpn-devel] [PATCH v1] dco_linux: drop unused declarations X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: 1883229380970274627 X-GMAIL-MSGID: 1883229380970274627 From: Razvan Cojocaru dco_check_key_ctx() was declared in commit e34437c2 ("dco: introduce low-level code for handling ovpn-dco in the Linux kernel") but never defined. The ovpn_nl_cb typedef lost its last user in commit f353b710 ("dco_linux: fix async message reception"). Change-Id: Ia3af4a38709c47bf2d4e96ad545f14902c252ea5 Signed-off-by: Razvan Cojocaru Acked-by: Antonio Quartulli Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2367 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2367 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Antonio Quartulli diff --git a/src/openvpn/dco_linux.c b/src/openvpn/dco_linux.c index 3a55b6e..e62308d 100644 --- a/src/openvpn/dco_linux.c +++ b/src/openvpn/dco_linux.c @@ -57,10 +57,6 @@ static int ovpn_get_mcast_id(dco_context_t *dco); -void dco_check_key_ctx(const struct key_ctx_bi *key); - -typedef int (*ovpn_nl_cb)(struct nl_msg *msg, void *arg); - /** * @brief resolves the netlink ID for ovpn-dco *