public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: David Morley <morleyd.kernel@gmail•com>
To: David Miller <davem@davemloft•net>,
	Eric Dumazet <edumazet@google•com>,
	Jakub Kicinski <kuba@kernel•org>
Cc: netdev@vger•kernel.org, David Morley <morleyd@google•com>,
	Neal Cardwell <ncardwell@google•com>
Subject: [PATCH net-next] tcp: fix formatting in sysctl_net_ipv4.c
Date: Tue,  6 Jun 2023 18:12:33 +0000	[thread overview]
Message-ID: <20230606181233.373319-1-morleyd.kernel@gmail.com> (raw)

From: David Morley <morleyd@google•com>

Fix incorrectly formatted tcp_syn_linear_timeouts sysctl in the
ipv4_net_table.

Fixes: ccce324dabfe ("tcp: make the first N SYN RTO backoffs linear")
Signed-off-by: David Morley <morleyd@google•com>
Signed-off-by: Neal Cardwell <ncardwell@google•com>
Tested-by: David Morley <morleyd@google•com>
Reviewed-by: Eric Dumazet <edumazet@google•com>
---
 net/ipv4/sysctl_net_ipv4.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c
index 6ae3345a3bdf..ef26f9013a0f 100644
--- a/net/ipv4/sysctl_net_ipv4.c
+++ b/net/ipv4/sysctl_net_ipv4.c
@@ -1472,13 +1472,13 @@ static struct ctl_table ipv4_net_table[] = {
 		.extra2         = &tcp_plb_max_cong_thresh,
 	},
 	{
-		.procname = "tcp_syn_linear_timeouts",
-		.data = &init_net.ipv4.sysctl_tcp_syn_linear_timeouts,
-		.maxlen = sizeof(u8),
-		.mode = 0644,
-		.proc_handler = proc_dou8vec_minmax,
-		.extra1 = SYSCTL_ZERO,
-		.extra2 = &tcp_syn_linear_timeouts_max,
+		.procname	= "tcp_syn_linear_timeouts",
+		.data		= &init_net.ipv4.sysctl_tcp_syn_linear_timeouts,
+		.maxlen		= sizeof(u8),
+		.mode		= 0644,
+		.proc_handler	= proc_dou8vec_minmax,
+		.extra1		= SYSCTL_ZERO,
+		.extra2		= &tcp_syn_linear_timeouts_max,
 	},
 	{ }
 };
-- 
2.41.0.rc0.172.g3f132b7071-goog


             reply	other threads:[~2023-06-06 18:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06 18:12 David Morley [this message]
2023-06-07 10:00 ` [PATCH net-next] tcp: fix formatting in sysctl_net_ipv4.c patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230606181233.373319-1-morleyd.kernel@gmail.com \
    --to=morleyd.kernel@gmail$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=edumazet@google$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=morleyd@google$(echo .)com \
    --cc=ncardwell@google$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox