ALT Linux Bugzilla
– Attachment 8197 Details for
Bug 37024
При загрузке сообщение sysctl duplicate entry: /net/ipv4//tcp_min_snd_mss
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Часть патча
strange_codeblocks.txt (text/plain), 1.53 KB, created by
stranger573
on 2019-07-13 00:10:30 MSK
(
hide
)
Description:
Часть патча
Filename:
MIME Type:
Creator:
stranger573
Created:
2019-07-13 00:10:30 MSK
Size:
1.53 KB
patch
obsolete
>diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c >index 80bc36b..7a857cf 100644 >--- a/net/ipv4/sysctl_net_ipv4.c >+++ b/net/ipv4/sysctl_net_ipv4.c >@@ -35,12 +35,15 @@ static int ip_local_port_range_min[] = { 1, 1 }; > static int ip_local_port_range_max[] = { 65535, 65535 }; > static int tcp_adv_win_scale_min = -31; > static int tcp_adv_win_scale_max = 31; >+static int tcp_min_snd_mss_min = TCP_MIN_SND_MSS; >+static int tcp_min_snd_mss_max = 65535; > static int ip_ttl_min = 1; > static int ip_ttl_max = 255; > static int tcp_syn_retries_min = 1; >---------------------------------------------------------------------------- >@@ -531,6 +545,15 @@ static struct ctl_table ipv4_table[] = { > .proc_handler = proc_dointvec, > }, > { >+ .procname = "tcp_min_snd_mss", >+ .data = &init_net.ipv4.sysctl_tcp_min_snd_mss, >+ .maxlen = sizeof(int), >+ .mode = 0644, >+ .proc_handler = proc_dointvec_minmax, >+ .extra1 = &tcp_min_snd_mss_min, >+ .extra2 = &tcp_min_snd_mss_max, >+ }, >+ { > .procname = "cipso_rbm_optfmt", > .data = &cipso_v4_rbm_optfmt, > .maxlen = sizeof(int), >@@ -827,6 +850,15 @@ static struct ctl_table ipv4_net_table[] = { > .proc_handler = proc_dointvec, > }, > { >+ .procname = "tcp_min_snd_mss", >+ .data = &init_net.ipv4.sysctl_tcp_min_snd_mss, >+ .maxlen = sizeof(int), >+ .mode = 0644, >+ .proc_handler = proc_dointvec_minmax, >+ .extra1 = &tcp_min_snd_mss_min, >+ .extra2 = &tcp_min_snd_mss_max, >+ }, >+ { > .procname = "tcp_probe_threshold", > .data = &init_net.ipv4.sysctl_tcp_probe_threshold, > .maxlen = sizeof(int),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 37024
: 8197