🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #190

[PATCH net-next 2/7] ovpn: remove unused work field from struct ovpn_socket

#190
From: Antonio Quartulli
Date: Wed, 07 Oct 2026 13:30
35 lines
9104 bytes
From: Ralf Lici <ralf@mandelbit.com>

work in struct ovpn_socket was introduced but never used.

Remove it.

Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
---
 drivers/net/ovpn/socket.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/ovpn/socket.h b/drivers/net/ovpn/socket.h
index 4afcec71040d..5c87392ecd30 100644
--- a/drivers/net/ovpn/socket.h
+++ b/drivers/net/ovpn/socket.h
@@ -24,7 +24,6 @@ struct ovpn_peer;
  * @peer: unique peer transmitting over this socket (TCP only)
  * @sk: the low level sock object
  * @refcount: amount of contexts currently referencing this object
- * @work: member used to schedule release routine (it may block)
  * @tcp_tx_work: work for deferring outgoing packet processing (TCP only)
  */
 struct ovpn_socket {
@@ -38,7 +37,6 @@ struct ovpn_socket {
 
 	struct sock *sk;
 	struct kref refcount;
-	struct work_struct work;
 	struct work_struct tcp_tx_work;
 };
 
-- 
2.55.0
Technical Details
Message-ID: <20261007133018.1451958-3-antonio@openvpn.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342355-linux-kernel-netdev=dewy.ru
References: <20261007133018.1451958-1-antonio@openvpn.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342355-linux-kernel-netdev=dewy.ru
From: antonio@openvpn.net (Antonio Quartulli)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 2/7] ovpn: remove unused work field from struct ovpn_socket
Date: Wed,  7 Oct 2026 15:30:11 +0200
Organization: Usenet Network
Message-ID: <20261007133018.1451958-3-antonio@openvpn.net>
References: <20261007133018.1451958-1-antonio@openvpn.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="654339"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:vGN3Cy2LAs1nlQ4ZcjghrSRvJrE= sha256:G044rMg5qh4WrlKftGYbiNfiVpgkwe24l3Cz0pZFVBY=
	sha1:seYf/ah/Pj1UwZvtihjxlyOTTqc= sha256:KJ0PhzdV364UX5XvRsXMORmYDhk9FaVYp51yNBJKkFY=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id EB4A710F16F; Wed,  7 Oct 2026 16:36:55 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=openvpn.net
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id OVmgGbKROS30;
	Wed,  7 Oct 2026 16:36:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342355-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=quarantine dis=none) header.from=openvpn.net
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 501AC10F161; Wed,  7 Oct 2026 16:36:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id D9031354F2; Wed,  7 Oct 2026 13:33:35 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B8AFF4AFE2C;
	Wed,  7 Oct 2026 13:30:43 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=openvpn.net header.i=@openvpn.net header.b="I3QQ0vvE"
X-Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40A16411A1A
	for <netdev@vger.kernel.org>; Wed,  7 Oct 2026 13:30:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791379843; cv=none; b=hwmy75+a2T05efssaT63jRg3pJhQbA1lkjfsq1V+gJn1kZ+tJB+lk+/NlsTtVyy3c7TbYIqjZL5ARV5guMK4xCjQKs5rgG3RVb7B7qeHH38ewXN2uOqaq00qYpZtcf1dHVqXk98qcRakddM+yW/BPuy3Ji1dDWDGTVwUiVZ+ycQ=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791379843; c=relaxed/simple;
	bh=rWTCDK7Lu98+d3mkrV0MN4YOesMUBm1C1YFvlmoJwjg=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version; b=jsLio4XSVjDtfr1bx6BQOwj9YYKGE2cYkNhJyvnr70rwiIXXPNUSSCuFxg/LGE1XFBC7rQ8aZgTGqTQ+X9/XwXndc2xcH4NASLk17FPJq5Gp90lJwcQShVJFNoKjxNiqLsH+P6myQVCzNLNYLNYxez1zDjIOuDU7KOyzxPOw1OY=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=openvpn.net; spf=pass smtp.mailfrom=openvpn.com; dkim=pass (2048-bit key) header.d=openvpn.net header.i=@openvpn.net header.b=I3QQ0vvE; arc=none smtp.client-ip=209.85.128.49
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=openvpn.net
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=openvpn.com
X-Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-49fbb2acc90so16751725e9.2
        for <netdev@vger.kernel.org>; Wed, 07 Oct 2026 06:30:26 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=openvpn.net; s=google; t=1791379825; x=1791984625; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=PUZNOFnMcYElO0ClXptU5P2JhQobHKhnh+QtdfN2Je8=;
        b=I3QQ0vvEoHqU/EGs2vyPlIwnAhl7LdfuU13Fe270XU3nbG7Mp92Gq40Baw6wkKuD+j
         nY6iGcJ8S6LhpvYlRJWroP+5a5edfBj9lCpwWOJJJVVJAVEkkp8XvCOgZu+/hPn72ZMa
         K6Ll3xVv76LZKzVU0YiQplXfQjBYzI69IcYbX7wjE69m6dQqhYwHcOsMc72GLK9ndvbp
         GPrEIL/dNVhSKlYG37eef/zMuDnRyeDIZrtV8RJziLClsjqc+5dLGyelT81Hc53/oj89
         +4eKKtUFNjIEMBd+x2K3GE4qrbEe011soLtTv/0IX8XdBpRLre6YAm7QOS0MGiip29TV
         vSfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1791379825; x=1791984625;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to:content-type;
        bh=PUZNOFnMcYElO0ClXptU5P2JhQobHKhnh+QtdfN2Je8=;
        b=gle25kRkZGAsoCgQDwy3nhjpd/fl9Wmhzrq4pHqqmEDUAOsMg8ys5BGrWtL1dcgs39
         pMdpjIRlz22IqBZXogrf6c+7NYpHdFUGSloJHANMNlTYHP6l0WvksHIyXFbbCKRFywPg
         O5lgt6XaFkXsz1UQWBeDkDYVb7/QJEdLtxZrXCFy3ixG2cc222+JSzxUKqCyKwGhPqeL
         QdDmrwXiuhLpEoD3kq/Re80LvQ+wcvWJGUw/QLmD/UKlTmSApkiN+/tJ287d1LqTuKfH
         5f641Hjxj8SRp4XHt5cvs2cMueBkuKqu+S1BtR0a15/T96zOymC7uXQRXiTF62Edd3+i
         sDKg==
X-Gm-Message-State: AFuF++nfe3o6NVXXTDhb170wBGmEfy58OXmv9E7ywYrLc1x4Py/9nFbs
	oeaap8al8GZGF8101impb3iGt9MxFgdmNuq1vZUrXqD8tPh5CVPxE1cyzYm5Uv2vShBQ92S/K1Y
	MWVIbNY2448rudC6t3leB48rDknETAlxHy0QAlLyr61ZYmGqsR6M1u3ab4cNOM3mE
X-Gm-Gg: AYBFou3j6Ce0DzvFYe5oBj3x2hgXj9lM6Dm0094tZioBK+CjyWR71WDecULP9UT6hlv
	mt5nxvYvnAOtH+w29NXDh5/246sfggpLZs8frE2kxre3pNSs2w0lhDAbig5n5Pfp47HMAUc7XfJ
	eKcVDqoGgeQIUiMbihbojjJUcfuQi/1tG2YZ6mgSFqs2GGoBmAUKGiG3M8GdkV3DIXsFHA+Kpl6
	dVN7fGa3m8kBPJDhXiI6fSUbzG83mgpRLHNZPdynpb9sNZbgQ6xsEhgQZa9d9ul5kQVMz73oOub
	/cJIrnqda67O2bLFZ5okmYF45y9A80Mhn6C4JLq3xGVOuVmMvGuls1Ynuo7tkzhdvGrgdJQ7ovo
	s3ZDusGnTtcvOBfNbiAqLJGvr6VrueW/zilFTToaNdyPKA21bX7qm1t/ZJxfvEC86wjso/akLeR
	y0Rkn8ZjL2M8lul2gwD0UEyluRKbeMziM+8/EnQXk1FqN+K/iUliKqeS0+C8xk5Zmq9LhAdWyaT
	uG5NT5wNLw=
X-Received: by 2002:a05:600c:810c:b0:49c:cee0:f383 with SMTP id 5b1f17b1804b1-4a18041f7b8mr36182365e9.16.1791379825283;
        Wed, 07 Oct 2026 06:30:25 -0700 (PDT)
X-Received: from inifinity.mandelbit.com ([2001:67c:2fbc:1:7fc5:5cc8:bac1:5ef3])
        by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a17a0fc2e4sm150356145e9.3.2026.10.07.06.30.24
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Wed, 07 Oct 2026 06:30:24 -0700 (PDT)
X-Cc: Ralf Lici <ralf@mandelbit.com>,
	Sabrina Dubroca <sd@queasysnail.net>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Antonio Quartulli <antonio@openvpn.net>
X-Mailer: git-send-email 2.55.0
X-In-Reply-To: <20261007133018.1451958-1-antonio@openvpn.net>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>