* [PATCH] xfrm: update outdated comment
@ 2026-02-24 2:18 kexinsun
2026-03-01 15:00 ` Simon Horman
2026-03-02 9:21 ` Steffen Klassert
0 siblings, 2 replies; 3+ messages in thread
From: kexinsun @ 2026-02-24 2:18 UTC (permalink / raw)
To: steffen.klassert
Cc: herbert, davem, edumazet, kuba, pabeni, horms, netdev,
linux-kernel, julia.lawall, xutong.ma, yunbolyu, ratnadiraw,
kexinsun
The function __xfrm4_bundle_create() was refactored into
xfrm_bundle_create() (among others) by commit 25ee3286dcbc
("xfrm: Merge common code into xfrm_bundle_create"). The
responsibility for setting dst->obsolete to DST_OBSOLETE_FORCE_CHK
now lives in xfrm_bundle_create(). Update the comment accordingly.
Signed-off-by: kexinsun <kexinsun@smail.nju.edu.cn>
---
net/xfrm/xfrm_policy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index ee8bb445c4d3..326824af4928 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -3910,7 +3910,7 @@ EXPORT_SYMBOL(__xfrm_route_forward);
static struct dst_entry *xfrm_dst_check(struct dst_entry *dst, u32 cookie)
{
- /* Code (such as __xfrm4_bundle_create()) sets dst->obsolete
+ /* Code (such as xfrm_bundle_create()) sets dst->obsolete
* to DST_OBSOLETE_FORCE_CHK to force all XFRM destinations to
* get validated by dst_ops->check on every use. We do this
* because when a normal route referenced by an XFRM dst is
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] xfrm: update outdated comment
2026-02-24 2:18 [PATCH] xfrm: update outdated comment kexinsun
@ 2026-03-01 15:00 ` Simon Horman
2026-03-02 9:21 ` Steffen Klassert
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2026-03-01 15:00 UTC (permalink / raw)
To: kexinsun
Cc: steffen.klassert, herbert, davem, edumazet, kuba, pabeni, netdev,
linux-kernel, julia.lawall, xutong.ma, yunbolyu, ratnadiraw
On Tue, Feb 24, 2026 at 10:18:21AM +0800, kexinsun wrote:
> The function __xfrm4_bundle_create() was refactored into
> xfrm_bundle_create() (among others) by commit 25ee3286dcbc
> ("xfrm: Merge common code into xfrm_bundle_create"). The
> responsibility for setting dst->obsolete to DST_OBSOLETE_FORCE_CHK
> now lives in xfrm_bundle_create(). Update the comment accordingly.
>
> Signed-off-by: kexinsun <kexinsun@smail.nju.edu.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] xfrm: update outdated comment
2026-02-24 2:18 [PATCH] xfrm: update outdated comment kexinsun
2026-03-01 15:00 ` Simon Horman
@ 2026-03-02 9:21 ` Steffen Klassert
1 sibling, 0 replies; 3+ messages in thread
From: Steffen Klassert @ 2026-03-02 9:21 UTC (permalink / raw)
To: kexinsun
Cc: herbert, davem, edumazet, kuba, pabeni, horms, netdev,
linux-kernel, julia.lawall, xutong.ma, yunbolyu, ratnadiraw
On Tue, Feb 24, 2026 at 10:18:21AM +0800, kexinsun wrote:
> The function __xfrm4_bundle_create() was refactored into
> xfrm_bundle_create() (among others) by commit 25ee3286dcbc
> ("xfrm: Merge common code into xfrm_bundle_create"). The
> responsibility for setting dst->obsolete to DST_OBSOLETE_FORCE_CHK
> now lives in xfrm_bundle_create(). Update the comment accordingly.
>
> Signed-off-by: kexinsun <kexinsun@smail.nju.edu.cn>
Applied to ipsec-next, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-02 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24 2:18 [PATCH] xfrm: update outdated comment kexinsun
2026-03-01 15:00 ` Simon Horman
2026-03-02 9:21 ` Steffen Klassert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox