Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3660E2451C3 for ; Mon, 4 Aug 2025 09:26:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754299601; cv=none; b=ZLgiwGKe+5ioencaNKDLh3Q9PR754D5soUMYHfXtNm7cPlpVfjxQhwqw5vU6jZRNlOlK3MjPNZX4YYQ5J0dY1n0RTd4WC5FAaY9KxICP9S3WU4z79iUbDipMmi27Gf3poRs2WiQa/xNbcTEewjqQuGrt3GGzErm/FA4r/qPBlZ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754299601; c=relaxed/simple; bh=TH05jlLQ9iMnPK//qoLSm3t6OX5Jq/Q9tcjOF8NXf0o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FZ7ixA+2hdCUIH8Y+XRKVtlriibni/t4nOZt5cJCeyjNs/DtuHdJDDaATqfZCRYQ9F6eydurildGcJd4doj/yjr6CbbBXPSh4hW75Uxccle6/h7u5Lg22tt/wg/EKI6HVTaNKZkSHa3wPDR+tdXfq0DER5rBHUF79oiNcBxAJhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net; spf=pass smtp.mailfrom=queasysnail.net; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b=wtKJYImH; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=VBbKMaMn; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b="wtKJYImH"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="VBbKMaMn" Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 153091D000B4; Mon, 4 Aug 2025 05:26:37 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Mon, 04 Aug 2025 05:26:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=queasysnail.net; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1754299596; x=1754385996; bh=WhuvXEAINQ zLBUe6VgVMWUgQwWnMjq7h3DwJKOuPOow=; b=wtKJYImHJWmljh7Rq4jvzpmEoX hBWV7LjXLKekuN9WcsK4ISvkoMY0itITduTq4+3Xlpk64rjemen7Lgm0QfhakHne WGSqHCjyUno+ZUVIrh/KcZrV2qAHBt2MptZfrwtG2rYkHkgCswFdSEQ9o4CP2It5 TTaIgdZEylp4dUeuoz3dbqWC5l5MSv64F7aER8k5zB+JTeXJp+x1Y/Vr8YlPDjG6 QiW3XxpfzOKV6ENdHtcRdYRXfQl0EdHhgejt5za9a7xwODdnntstYXvvOOSPTG+S XJhH1A+F0xq2xPPYhp07bLqfd/ys+ubf/m0AOAaSuSNG1B4WhNWKjWOxVklA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1754299596; x=1754385996; bh=WhuvXEAINQzLBUe6VgVMWUgQwWnMjq7h3Dw JKOuPOow=; b=VBbKMaMn+QwRL73YmBF8dyR/zGYlDtZM7ytX1hKlIuTUwOtwM4W phi8zu7IFaUW8eEIDIfxQ0oeD1kWghW3xI2gd4C+/aO48rIsqfMp29NSXyAjr4i0 BW2/EZLLj6L9Zh3WmLldYV3Ei07fPATei9xaTjWY8xoPanAjC8vRaHLOxs7ZzpLb lodekP5OdftZeRIt7xwLw23kwD6urcBrqPtjdBM02uLs9x2kddY6SIGthKvyBG/a q4Mn4ljbHqaYgZP6zK6L2KrG95xU2/z+oy79vXlAClOm78QmE7QVaQVBxYIhN5S2 6mVe45BaxRzew03mHMJ4nOs0d+dvqdon5TQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduudduleefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufgrsghrihhnrgcu ffhusghrohgtrgcuoehsugesqhhuvggrshihshhnrghilhdrnhgvtheqnecuggftrfgrth htvghrnhepjedtuefgffekjeefheekieeivdejhedvudffveefteeuffehgeettedvhfff veffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsh gusehquhgvrghshihsnhgrihhlrdhnvghtpdhnsggprhgtphhtthhopeelpdhmohguvgep shhmthhpohhuthdprhgtphhtthhopehnvghtuggvvhesvhhgvghrrdhkvghrnhgvlhdroh hrghdprhgtphhtthhopehsugesqhhuvggrshihshhnrghilhdrnhgvthdprhgtphhtthho pehsthgvfhhfvghnrdhklhgrshhsvghrthesshgvtghunhgvthdrtghomhdprhgtphhtth hopegushgrhhgvrhhnsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegvughumhgriigv thesghhoohhglhgvrdgtohhmpdhrtghpthhtohepkhhusggrsehkvghrnhgvlhdrohhrgh dprhgtphhtthhopehprggsvghnihesrhgvughhrghtrdgtohhmpdhrtghpthhtohephhho rhhmsheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggrvhgvmhesuggrvhgvmhhloh hfthdrnhgvth X-ME-Proxy: Feedback-ID: i934648bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Aug 2025 05:26:35 -0400 (EDT) From: Sabrina Dubroca To: netdev@vger.kernel.org Cc: Sabrina Dubroca , Steffen Klassert , David Ahern , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , "David S. Miller" Subject: [PATCH ipsec v2 0/3] xfrm: some fixes for GSO with SW crypto Date: Mon, 4 Aug 2025 11:26:24 +0200 Message-ID: X-Mailer: git-send-email 2.50.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series fixes a few issues with GSO. Some recent patches made the incorrect assumption that GSO is only used by offload. The first two patches in this series restore the old behavior. The final patch is in the UDP GSO code, but fixes an issue with IPsec that is currently masked by the lack of GSO for SW crypto. With GSO, VXLAN over IPsec doesn't get checksummed. v2: only revert the unwanted changes from commit d53dda291bbd ("xfrm: Remove unneeded device check from validate_xmit_xfrm") Sabrina Dubroca (3): xfrm: restore GSO for SW crypto xfrm: bring back device check in validate_xmit_xfrm udp: also consider secpath when evaluating ipsec use for checksumming net/ipv4/udp_offload.c | 2 +- net/xfrm/xfrm_device.c | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) -- 2.50.0