[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180926.203428.1967735168027113266.davem@davemloft.net>
Date: Wed, 26 Sep 2018 20:34:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zenczykowski@...il.com
Cc: maze@...gle.com, edumazet@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net-tcp: /proc/sys/net/ipv4/tcp_probe_interval is a
u32 not int
From: "Maciej Żenczykowski" <zenczykowski@...il.com>
Date: Tue, 25 Sep 2018 21:59:28 -0700
> From: Maciej Żenczykowski <maze@...gle.com>
>
> (fix documentation and sysctl access to treat it as such)
>
> Tested:
> # zcat /proc/config.gz | egrep ^CONFIG_HZ
> CONFIG_HZ_1000=y
> CONFIG_HZ=1000
> # echo $[(1<<32)/1000 + 1] | tee /proc/sys/net/ipv4/tcp_probe_interval
> 4294968
> tee: /proc/sys/net/ipv4/tcp_probe_interval: Invalid argument
> # echo $[(1<<32)/1000] | tee /proc/sys/net/ipv4/tcp_probe_interval
> 4294967
> # echo 0 | tee /proc/sys/net/ipv4/tcp_probe_interval
> # echo -1 | tee /proc/sys/net/ipv4/tcp_probe_interval
> -1
> tee: /proc/sys/net/ipv4/tcp_probe_interval: Invalid argument
>
> Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
Applied.
Powered by blists - more mailing lists