From patchwork Wed Jul 23 06:20:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4321 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:9111:b0:671:5a2c:6455 with SMTP id h17csp754165maf; Tue, 22 Jul 2025 23:20:24 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUwUg9+tbDHF4t1MpUgB0aRrknYDtpRyAtnHA2GhUZU8Rxu6y7qBtY4uFRt6nt3W2htSeu1QImZEsw=@openvpn.net X-Google-Smtp-Source: AGHT+IHI945z+rpbneBFi1PrujEcTH9onJzwZba3tTvTd7b7eXicjP8Dub0/977KdYjpmiE7HzeG X-Received: by 2002:a05:6808:4f54:b0:409:c6:c147 with SMTP id 5614622812f47-426ba5845f7mr1327122b6e.6.1753251623873; Tue, 22 Jul 2025 23:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1753251623; cv=none; d=google.com; s=arc-20240605; b=CTzdIx9OAFGYAUyc7kaKtMtT60UtbTqWkz/vM0rplrvyWiLTbQzjHjCHXXat8cw/mt TTJOWAPis/Zo/e4s12UkjzS9aUHfet2NGK0fGuOGQf3eE+FUdtufe8iQ26vArwHsF0Ps V6WFZa3ftKN5JHuNKniIynVnBMaPvmv572p76HI6E7aRHVE8fPjTexP2VL8j48QnYdR+ fuAWQ4DrqGZ6jQKkYYy3oDabyNeS6aRq+iQO6IAq7h8odqVWcrkjcT8igfo0od+T7eSj tUVmHK2yFUTbflGrGzOgSiPj7bqCRHkvPifAxzElQyEylnRUA6UImSaFikdxttX3Nb4Y buuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=fhAGKfa5Maag0DEz6PGNUsNefx35H8W3KkZhZzr5pzo=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=BHvMt1CT7Hcyid4tov+IbBlnc1Et6e8i4f7BM9FGqcjtneADMmpOuCtEmxuaTBlzGS be5YF9yXVCE3OVg7TlCpT9wo6fVPbHnhMoHav6bf+qugomf50kLIYGix3j/cCRa7eAJU VrD5yvB93ayXjGRxwIOXToZvDyk32/RGtDeWIFOnzlRyfpipywCMO5/3WEJ+PNMXVZIM ROsA2eKXfcdVxnxmXC+M9yWRUrJzcEw0waf/ja0Qo0732+6rA5imXXsefXhfU9Za1we2 4+Y4zUOwCFTrQQBfYp9TbquQX7Cf8tjIthkghwwbCBIUog55PF/iimIvubD6eemi+U0S vSFQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=cynIGh6B; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=KGOOuPmB; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=iqbxhC2o; 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 5614622812f47-41fd5079b7asi5085921b6e.267.2025.07.22.23.20.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jul 2025 23:20:23 -0700 (PDT) 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=cynIGh6B; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=KGOOuPmB; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=iqbxhC2o; 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-Owner; bh=fhAGKfa5Maag0DEz6PGNUsNefx35H8W3KkZhZzr5pzo=; b=cynIGh6B7jzu7lAv3FzG8KCKgc kUFsZe98TeYO6INYv0mStyEJhwPwb7Omu0gEyro14DYsIkrMl7vPbFXZvNw9S8OWMHMBb88go846u oe6+PJJfQc5f9d4iKapZ2giqhU1QrkNULS2rF+Ne/U4s7q2L8JXSjVl/N5uoxBxZRL8I=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1ueSpx-0006l0-PS; Wed, 23 Jul 2025 06:20:21 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ueSpw-0006ks-HS for openvpn-devel@lists.sourceforge.net; Wed, 23 Jul 2025 06:20:20 +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-Subscribe:List-Post:List-Owner:List-Archive; bh=NWjEV0LqKxESf9Mpd2+zvE+YscQkEuAhY/RfvtID8Gs=; b=KGOOuPmBcb7OxWVKwTdOlUyi1i mRsMNlUflt45LdeYy7hZ0b/ixxkvELItCZfRT7zJYKqsC1K6+Wr5WDfuXquunJTEI/twjDyHgt9Jz rQihyp6oMKU5yDE25+UXEEELh8p9BipUo1ftbgbIJFr99iltJhuMybrPmusBvcg8Lbzg=; 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-Subscribe: List-Post:List-Owner:List-Archive; bh=NWjEV0LqKxESf9Mpd2+zvE+YscQkEuAhY/RfvtID8Gs=; b=iqbxhC2o7K/4DWSzTsj03hRbVJ zUjwATGL1ZnOp4tVebaQAYYzZmCvMI24LXx4N5nq8u5UPekq8BAO56M3Yxg2eemM1KFmV6qJbuTto vEgZo1Vx/u4f98bV2+9mRzPZmiKx5k8y3COB/Za8uZl4Nl4IpgcbaBFj1q23OhyImXco=; Received: from [193.149.48.143] (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.95) id 1ueSpv-0007L8-Pw for openvpn-devel@lists.sourceforge.net; Wed, 23 Jul 2025 06:20:20 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.17.1.9/8.17.1.9) with ESMTP id 56N6KDKS022810 for ; Wed, 23 Jul 2025 08:20:13 +0200 Received: (from gert@localhost) by blue.greenie.muc.de (8.17.1.9/8.17.1.9/Submit) id 56N6KDeL022809 for openvpn-devel@lists.sourceforge.net; Wed, 23 Jul 2025 08:20:13 +0200 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Wed, 23 Jul 2025 08:20:06 +0200 Message-ID: <20250723062012.22781-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.49.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-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: From: Antonio Quartulli A M_ERR constant accidentally slipped in as possible netlink error value. Substitute it with the actual code matching the following error message. 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: 1ueSpv-0007L8-Pw Subject: [Openvpn-devel] [PATCH v2] dco_linux: fix case statement by using proper error value 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: =?utf-8?q?1838417574493741247?= X-GMAIL-MSGID: =?utf-8?q?1838417574493741247?= From: Antonio Quartulli A M_ERR constant accidentally slipped in as possible netlink error value. Substitute it with the actual code matching the following error message. Change-Id: I18df6ef659cab9525dd7847b7dd3950fc1895dd5 Signed-off-by: Antonio Quartulli Acked-by: Gert Doering --- 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/+/1095 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering diff --git a/src/openvpn/dco_linux.c b/src/openvpn/dco_linux.c index c92c196..58051f5 100644 --- a/src/openvpn/dco_linux.c +++ b/src/openvpn/dco_linux.c @@ -143,7 +143,7 @@ msg(M_ERR, "%s: netlink out of memory error", prefix); break; - case -M_ERR: + case -NLE_AGAIN: msg(M_WARN, "%s: netlink reports blocking read - aborting wait", prefix); break;