From patchwork Thu Nov 26 15:15:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralf Lici X-Patchwork-Id: 5802 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:6022:91c9:10b0:11b:d6c:f273 with SMTP id tl9-n1csp7337890lad; Thu, 26 Nov 2026 07:15:54 -0800 (PST) X-Forwarded-Encrypted: i=2; AL+hErGVp2nN9Xv2I7nC9V4AwBp2A6kDHDZ3L25SQ7VQSBQk+UAt0VqKqmvS8o19GmVbRB8clhMny8nciIQ=@openvpn.net X-Received: by 2002:a17:903:b4f:b0:2f0:2e6d:f301 with SMTP id d9443c01a7336-2f03f17d21fmr233664365ad.12.1795706153989; Thu, 26 Nov 2026 07:15:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1795706153; cv=none; d=google.com; s=arc-20260327; b=S/VCB0ImXDayE5ZrZqdzdr3nSR1kHfRB2FsvSh0nQELXL57a4KQQFvCWsztFnOsDwU aLEpldjXMW5vVyfQO3Td3eUqBoLRqoB9VAIdwFLlYY/WJLfre/wsX6204u+FqHmi1kTz QjRSwKJ/Oz5FA1MGEgRjtlZP6eiAumCBmAaycxkrNaVbC0hCB992E9cnQygQlfDZgl4h 59nWy4PfLtku/vImvK3gmC7Ouc9bLUK1DsHi8lYnUz0MHCb5pA3Z/EhbJeAbw9vIYBMw K9iORgsGsrLzC5ZGVrVStQJ9brZdGllurx/Ho7GorIsBs6xJm6X/hWoxzmb5fyU5UDaV ZsNw== 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:dkim-signature; bh=Bo04CzRrgCAs3mPyf0Dl+oxjIlf4oQzzfVMXf++nv9I=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=T4lubduf2QxVAIXliX6ne6ysYj0Y8mkMBh9/oKw5j5myJYARhAnBIEqak221dQgecJ Y00Inlkb0qMjpUuofE0bx42DknGIYv8HOMDOuZ2fewiWBn/a8mtHlzvMqGoIsMkVCMr2 AKWCfM4Xc92s4Lern73FLZjNB3YRHIcavVgQKL62X5LQUYb7X75cVey9izqjYS5XLOU+ 3cH8g2TJL3hNyytJoP69UK4qxM/Z1Ehg0DkRGb/cDQQIK3wlCqSEaR8Igb1QuoV5LIE7 ueOkmCZaNyarWrZELdpsvDv83fG96lFuxsMRo+ofJofOCCQ/xdswVgc8t79tgYu30Uzg fKpQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=irNt1Vj5; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=Ma5tjz3Y; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=abFJyOZv; dkim=neutral (body hash did not verify) header.i=@mandelbit.com header.s=MBO0001 header.b=aZbT0xEk; 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 41be03b00d2f7-cde6d1287b5si32435401a12.374.2026.11.26.07.15.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Nov 2026 07:15:53 -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=irNt1Vj5; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=Ma5tjz3Y; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=abFJyOZv; dkim=neutral (body hash did not verify) header.i=@mandelbit.com header.s=MBO0001 header.b=aZbT0xEk; 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: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=Bo04CzRrgCAs3mPyf0Dl+oxjIlf4oQzzfVMXf++nv9I=; b=irNt1Vj5HL8LXT cLkH+iO+7/na7DTrADi4FKlHPdBmH96Lx/vD9St5uceUcu+CPGwWzHhDSpKysqLXWuEukgAXUqM1y jSxMG6ikdwXYb+V7DgtmWZG8HF7aL+sNAIHiwrIfjJHDW0V5FGmLhycuo+jKK26xuFcbOSBzjrGCP gUM=; 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 ) id 1xWbCT-000000007I3-0ttI; Thu, 26 Nov 2026 15:15:53 +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 ) id 1xWbCP-000000007Hr-1xxq for openvpn-devel@lists.sourceforge.net; Thu, 26 Nov 2026 15:15:49 +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=lQ5dDrp/y2W4sEw93MnZc0JRBgQm7RyON3FOsU2ZdqM=; b=Ma5tjz3YRam/PASHBIFXfS6CEp lHlRVQ5WIXCKE96ICu16df2CWIyyLidnAqZaz15FDyVtqt9ExqUH0vHM4I0650zOWhuOXbk0wwOF/ v+JvNul+JE46sfcTZZeQvc+PICuWbibpSQvARUDJ674zkKEwRFTJj4Jt4F8UnWrB2bk8=; 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=lQ5dDrp/y2W4sEw93MnZc0JRBgQm7RyON3FOsU2ZdqM=; b=abFJyOZv8CDM4PNZ6sAvUnWOwe MpUAvrfZ9PZNrJxkZdCvBCe165S38P04mt8GHO4GB53CQEOEABT7wdEXrkU5fowF3MJKtr/FwW2N3 G7LAf+ShwDhbcVoYwrx4QBPdBGPaDW+BGVDCG00MDgjZnSctAL323EU1CvwbC7lws61c=; Received: from mout-b-206.mailbox.org ([195.10.208.51]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xWbCM-000000006YQ-1sqv for openvpn-devel@lists.sourceforge.net; Thu, 26 Nov 2026 15:15:49 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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-206.mailbox.org (Postfix) with ESMTPS id 4jb0VK6y6FzcQ for ; Thu, 26 Nov 2026 16:15:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com; s=MBO0001; t=1795706137; 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: in-reply-to:in-reply-to:references:references; bh=lQ5dDrp/y2W4sEw93MnZc0JRBgQm7RyON3FOsU2ZdqM=; b=aZbT0xEke6PJDzsSY6Y+lReL+WfyrJqrk0j0s+b4GIJsnNeV2+raLO+VkDQmyTpYpAILQI WwKp1NRbaSHb8mefF0TYHmDZdsZ1CppsCV2JU9oPYJxGoVffjcGsXmpDFU/mEYdsAJs04v /NHD7j7/DqKMWsZJrwnLMY87VGLIZA8EdReOo0rtlwGQdu9Jbw2C/Y7uyCCkF2MEQ4ZIh2 tyxgRXsD7nQcPY6gt3cLCbyySE2UdrfSXnkXeTOSrJth403SH2jE+PWlD9D4OpxFTOfL0N sWNjnrIuc5TYvoTN8+O71ihlBwoANhoaFQmV2UaFSWp/Libk/4+hbgqEoAcGrQ== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of ralf@mandelbit.com designates 2001:67c:2050:b231:465::202 as permitted sender) smtp.mailfrom=ralf@mandelbit.com From: Ralf Lici To: openvpn-devel@lists.sourceforge.net Date: Thu, 26 Nov 2026 16:15:24 +0100 Message-ID: X-Mailer: git-send-email 2.56.0 In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Queue-Id: 4jb0VK6y6FzcQ 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: Fix the return statement of ovpn_udp_output by stating that the skb is consumed only on success, not unconditionally. Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260921102215.3599702-1-antonio%40openvpn.net?part=3 Signed-off-by: Ralf Lici --- drivers/net/ovpn/udp.c | 2 +- 1 file c [...] 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: 1xWbCM-000000006YQ-1sqv Subject: [Openvpn-devel] [PATCH ovpn net-next 2/3] ovpn: correct kdoc return statement in ovpn_udp_output 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: 1882934376082988751 X-GMAIL-MSGID: 1882934376082988751 Fix the return statement of ovpn_udp_output by stating that the skb is consumed only on success, not unconditionally. Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260921102215.3599702-1-antonio%40openvpn.net?part=3 Signed-off-by: Ralf Lici --- drivers/net/ovpn/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ovpn/udp.c b/drivers/net/ovpn/udp.c index 055cdb1bee13..422c1f6e0c76 100644 --- a/drivers/net/ovpn/udp.c +++ b/drivers/net/ovpn/udp.c @@ -407,7 +407,7 @@ static int ovpn_udp6_output(struct ovpn_peer *peer, struct ovpn_bind *bind, * @key: route key snapshot used for cache validation and flow lookup * * rcu_read_lock should be held on entry. - * On return, the skb is consumed. + * On success, the skb is consumed. * * Return: 0 on success or a negative error code otherwise */