* [PATCH net-next] tcp: update the comment for tcp_process_tlp_ack()
@ 2025-07-04 14:48 xin.guo
2025-07-04 15:18 ` Neal Cardwell
0 siblings, 1 reply; 3+ messages in thread
From: xin.guo @ 2025-07-04 14:48 UTC (permalink / raw)
To: ncardwell, edumazet, davem, dsahern, kuba, pabeni; +Cc: netdev, xin.guo
As ACK-TLP was published as a standards-track RFC8985,
so the comment for tcp_process_tlp_ack() is outdated.
Signed-off-by: xin.guo <guoxin0309@gmail.com>
---
net/ipv4/tcp_input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 79e3bfb0108f..e9e654f09180 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -3714,7 +3714,7 @@ static int tcp_replace_ts_recent(struct tcp_sock *tp, u32 seq)
}
/* This routine deals with acks during a TLP episode and ends an episode by
- * resetting tlp_high_seq. Ref: TLP algorithm in draft-ietf-tcpm-rack
+ * resetting tlp_high_seq. Ref: TLP algorithm in RFC8985
*/
static void tcp_process_tlp_ack(struct sock *sk, u32 ack, int flag)
{
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] tcp: update the comment for tcp_process_tlp_ack()
2025-07-04 14:48 [PATCH net-next] tcp: update the comment for tcp_process_tlp_ack() xin.guo
@ 2025-07-04 15:18 ` Neal Cardwell
2025-07-04 15:25 ` Xin Guo
0 siblings, 1 reply; 3+ messages in thread
From: Neal Cardwell @ 2025-07-04 15:18 UTC (permalink / raw)
To: xin.guo; +Cc: edumazet, davem, dsahern, kuba, pabeni, netdev
On Fri, Jul 4, 2025 at 10:49 AM xin.guo <guoxin0309@gmail.com> wrote:
>
> As ACK-TLP was published as a standards-track RFC8985,
nit: typo: s/ACK-TLP/RACK-TLP/
> so the comment for tcp_process_tlp_ack() is outdated.
>
> Signed-off-by: xin.guo <guoxin0309@gmail.com>
> ---
> net/ipv4/tcp_input.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
> index 79e3bfb0108f..e9e654f09180 100644
> --- a/net/ipv4/tcp_input.c
> +++ b/net/ipv4/tcp_input.c
> @@ -3714,7 +3714,7 @@ static int tcp_replace_ts_recent(struct tcp_sock *tp, u32 seq)
> }
>
> /* This routine deals with acks during a TLP episode and ends an episode by
> - * resetting tlp_high_seq. Ref: TLP algorithm in draft-ietf-tcpm-rack
> + * resetting tlp_high_seq. Ref: TLP algorithm in RFC8985
Thanks for updating this! This looks good, but in net-next at
6b9fd8857b9fc I see two other outdated references to
draft-ietf-tcpm-rack. Can you please fix the other two as well:
git grep -n draft-ietf-tcpm-rack 6b9fd8857b9fc
6b9fd8857b9fc:Documentation/networking/ip-sysctl.rst:434: losses
into fast recovery (draft-ietf-tcpm-rack). Note that
6b9fd8857b9fc:net/ipv4/tcp_input.c:3717: * resetting tlp_high_seq.
Ref: TLP algorithm in draft-ietf-tcpm-rack
6b9fd8857b9fc:net/ipv4/tcp_recovery.c:38:/* RACK loss detection (IETF
draft draft-ietf-tcpm-rack-01):
thanks,
neal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] tcp: update the comment for tcp_process_tlp_ack()
2025-07-04 15:18 ` Neal Cardwell
@ 2025-07-04 15:25 ` Xin Guo
0 siblings, 0 replies; 3+ messages in thread
From: Xin Guo @ 2025-07-04 15:25 UTC (permalink / raw)
To: Neal Cardwell; +Cc: edumazet, davem, dsahern, kuba, pabeni, netdev
thanks neal, I will send v2 to include the other outdated references.
Regards
Guo Xin
On Fri, Jul 4, 2025 at 11:19 PM Neal Cardwell <ncardwell@google.com> wrote:
>
> On Fri, Jul 4, 2025 at 10:49 AM xin.guo <guoxin0309@gmail.com> wrote:
> >
> > As ACK-TLP was published as a standards-track RFC8985,
>
> nit: typo: s/ACK-TLP/RACK-TLP/
>
> > so the comment for tcp_process_tlp_ack() is outdated.
> >
> > Signed-off-by: xin.guo <guoxin0309@gmail.com>
> > ---
> > net/ipv4/tcp_input.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
> > index 79e3bfb0108f..e9e654f09180 100644
> > --- a/net/ipv4/tcp_input.c
> > +++ b/net/ipv4/tcp_input.c
> > @@ -3714,7 +3714,7 @@ static int tcp_replace_ts_recent(struct tcp_sock *tp, u32 seq)
> > }
> >
> > /* This routine deals with acks during a TLP episode and ends an episode by
> > - * resetting tlp_high_seq. Ref: TLP algorithm in draft-ietf-tcpm-rack
> > + * resetting tlp_high_seq. Ref: TLP algorithm in RFC8985
>
> Thanks for updating this! This looks good, but in net-next at
> 6b9fd8857b9fc I see two other outdated references to
> draft-ietf-tcpm-rack. Can you please fix the other two as well:
>
> git grep -n draft-ietf-tcpm-rack 6b9fd8857b9fc
>
> 6b9fd8857b9fc:Documentation/networking/ip-sysctl.rst:434: losses
> into fast recovery (draft-ietf-tcpm-rack). Note that
>
> 6b9fd8857b9fc:net/ipv4/tcp_input.c:3717: * resetting tlp_high_seq.
> Ref: TLP algorithm in draft-ietf-tcpm-rack
>
> 6b9fd8857b9fc:net/ipv4/tcp_recovery.c:38:/* RACK loss detection (IETF
> draft draft-ietf-tcpm-rack-01):
>
> thanks,
> neal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-04 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-04 14:48 [PATCH net-next] tcp: update the comment for tcp_process_tlp_ack() xin.guo
2025-07-04 15:18 ` Neal Cardwell
2025-07-04 15:25 ` Xin Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).