summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Morley <morleyd@google.com>2023-06-06 18:12:33 +0000
committerDavid S. Miller <davem@davemloft.net>2023-06-07 10:57:28 +0100
commit0824a987a58070470351906590a89fa5e0f88ba1 (patch)
tree77201f74b11823193bb316485be05f5e720a9fe2
parentcad7526f33ce1e7d387d1d0568a089e41deec5c2 (diff)
tcp: fix formatting in sysctl_net_ipv4.c
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> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/sysctl_net_ipv4.c14
1 files 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,
},
{ }
};