Article View: linux.kernel.netdev
Article #146[PATCH ipsec v5 8/9] xfrm: pass extack through to xfrm_init_replay() from xfrm_init_state()
From: Antony Antony
Date: Wed, 07 Oct 2026 09:35
Date: Wed, 07 Oct 2026 09:35
27 lines
7333 bytes
7333 bytes
xfrm_init_state() takes an extack parameter but doesn't pass it to
xfrm_init_replay(), so replay-window errors can't be reported via
extack.
Fixes: 231a1744dc43 ("xfrm: add extack to xfrm_init_state")
Signed-off-by: Antony Antony <antony.antony@secunet.com>
---
net/xfrm/xfrm_state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 65663c7ba836..0555e5d796ed 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -3384,7 +3384,7 @@ int xfrm_init_state(struct xfrm_state *x, struct netlink_ext_ack *extack)
if (err)
return err;
- err = xfrm_init_replay(x, NULL);
+ err = xfrm_init_replay(x, extack);
if (err)
return err;
--
2.47.3
Technical Details
Message-ID:
<migrate-state-fixes-v5-8-d9d3d794553d@secunet.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342291-linux-kernel-netdev=dewy.ruReferences:
<migrate-state-fixes-v5-0-d9d3d794553d@secunet.com>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-342291-linux-kernel-netdev=dewy.ru From: antony.antony@secunet.com (Antony Antony) Newsgroups: linux.kernel.netdev Subject: [PATCH ipsec v5 8/9] xfrm: pass extack through to xfrm_init_replay() from xfrm_init_state() Date: Wed, 7 Oct 2026 11:35:58 +0200 Organization: Usenet Network Message-ID: <migrate-state-fixes-v5-8-d9d3d794553d@secunet.com> References: <migrate-state-fixes-v5-0-d9d3d794553d@secunet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="631856"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:KUNmz1s4zpGw4JBHhrXojdaj670= sha256:nUcG3ZSBcpWOgVtz75OanH+VTyiscABHxEs0kwKlfsk= sha1:ye1R87XMvfgxu7yE7u1+iNooHko= sha256:0olWqiHPrrxPNAL1QjUxk2VbY6KRR4KTyoq/YE3hkKA= 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 255D710F13B; Wed, 7 Oct 2026 14:12:13 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -0.751 X-Spam-Status: No, score=-0.751 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, 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=secunet.com 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 uFmubab_7fzw; Wed, 7 Oct 2026 14:12:06 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-342291-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=secunet.com X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 8A05C10F101; Wed, 7 Oct 2026 14:12:00 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 3EF4A60366; Wed, 7 Oct 2026 09:37:16 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6337747F789; Wed, 7 Oct 2026 09:36:21 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.b="oMOJh7NM" X-Received: from mx1.secunet.com (mx1.secunet.com [62.96.220.36]) (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 D34A83BFAD1; Wed, 7 Oct 2026 09:36:10 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.96.220.36 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791365780; cv=none; b=ArDD7P0GU8XDj4I7xAIuhepCvoQrV/qjtr3NIOZHyxrnWqBKMAkr8XVGcuMHWPzJCgAj/Xdu1zxp4i4BqdlvUnIN0bLhcByCFobi3jeVp877ApqeIVQ3laynudnZQJ/1g7AogiwD7CDNDzW1IuTBF6R5FlvohJWwMpKKpPXamt0= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791365780; c=relaxed/simple; bh=9znKpW587vUnd2fqgWhdAEG280DMKsTOwmyotv/xN+M=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QhdsNvSAYG0ICul2mzrecTnUEeMRolNawTetx6FHoQDS72626YCxbGyYs/TkE58ux4jjCerlGBPkPwe9k7F/6TNh+Jh4LrRUXramblXbcrH7NplMpDO+DWgUNP/f8a3oO7psxZ60/mCpggH/ROGHLiifTikZGLSEOxU+QzY5meI= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=secunet.com; spf=pass smtp.mailfrom=secunet.com; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.b=oMOJh7NM; arc=none smtp.client-ip=62.96.220.36 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=secunet.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=secunet.com X-Received: from localhost (localhost [127.0.0.1]) by mx1.secunet.com (Postfix) with ESMTP id 06C5C2088F; Wed, 7 Oct 2026 11:36:09 +0200 (CEST) X-Virus-Scanned: by secunet X-Received: from mx1.secunet.com ([127.0.0.1]) by localhost (mx1.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LvDkbly4yrM2; Wed, 7 Oct 2026 11:36:08 +0200 (CEST) X-Received: from EXCH-02.secunet.de (rl2.secunet.de [10.32.0.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.secunet.com (Postfix) with ESMTPS id 7C58920764; Wed, 7 Oct 2026 11:36:08 +0200 (CEST) X-DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.secunet.com 7C58920764 X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com; s=202301; t=1791365768; bh=09QDpxXxEv937Zvaay+i0OjQpOQ5/SZOjB/Lo5SqWU0=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=oMOJh7NMPMINc+1CdASQnPccmb99ADQBUtg9ITq5oknT0UkQDYj0oYvSWTnEfWqG3 i5b4kruDZjON/SNQTH3bgJ3WhsAyfqx/yGljj07zSrw1FnpjN7Chdql5TCDd3RovdH cXgD9jgezk7Rih4Jm4PPNAR00qJUu6+70W1c/F6iXzJIJypRpUDTLzcfLCsj/27n+X 1Ys18taNGCsPEWPYMFQNeo6zATxwnVuyvBi2zjPThTTlB+8763n+ztbu8UtWd8Y2sV DleeD+uI/A4kDKvqLiA8skrcXVO0HS+S+7kx31h/GcUNQI8936Bn+LvE5jsj6+diNG Eb8eoFgzcnnFw== X-Received: from moon.secunet.de (172.18.149.1) by EXCH-02.secunet.de (10.32.0.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49; Wed, 7 Oct 2026 11:36:07 +0200 X-CC: Sabrina Dubroca <sd@queasysnail.net>, <netdev@vger.kernel.org>, Yan Yan <evitayan@google.com>, Tobias Brunner <tobias@strongswan.org>, Florian Westphal <fw@strlen.de>, <linux-doc@vger.kernel.org> X-Mailer: git-send-email 2.39.5 X-In-Reply-To: <migrate-state-fixes-v5-0-d9d3d794553d@secunet.com> 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> X-Mailer: b4 0.16-dev X-ClientProxiedBy: EXCH-03.secunet.de (10.32.0.183) To EXCH-02.secunet.de (10.32.0.172)