tcp: fix formatting in sysctl_net_ipv4.c
authorDavid Morley <morleyd@google.com>
Tue, 6 Jun 2023 18:12:33 +0000 (18:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jun 2023 09:57:28 +0000 (10:57 +0100)
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>
net/ipv4/sysctl_net_ipv4.c

index 6ae3345..ef26f90 100644 (file)
@@ -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,
        },
        { }
 };