[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44ed6325fa1d786b289674d72701663a525d8ea3.1767964254.git.antony@moon.secunet.de>
Date: Fri, 9 Jan 2026 14:38:31 +0100
From: Antony Antony <antony.antony@...unet.com>
To: Steffen Klassert <steffen.klassert@...unet.com>, Herbert Xu
<herbert@...dor.apana.org.au>, <netdev@...r.kernel.org>
CC: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, <devel@...ux-ipsec.org>
Subject: [PATCH ipsec-next 5/6] xfrm: reqid is invarient in old migration
During the XFRM_MSG_MIGRATE the reqid remains invariant.
Signed-off-by: Antony Antony <antony.antony@...unet.com>
---
net/xfrm/xfrm_user.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index 358044fc2376..13364d45a7b6 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -3104,6 +3104,7 @@ static int copy_from_user_migrate(struct xfrm_migrate *ma,
ma->proto = um->proto;
ma->mode = um->mode;
ma->old_reqid = um->reqid;
+ ma->new_reqid = um->reqid; /* reqid is invariant in XFRM_MSG_MIGRATE */
ma->old_family = um->old_family;
ma->new_family = um->new_family;
--
2.39.5
Powered by blists - more mailing lists