diff options
author | Pavel Tikhomirov <ptikhomirov@virtuozzo.com> | 2017-01-09 10:45:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-09 16:34:38 -0500 |
commit | b007f09072ca8afa118ade333e717ba443e8d807 (patch) | |
tree | c675327e77f5e8b654785cc36825c48595a932c9 /drivers | |
parent | 67c408cfa8862fe7e45b3a1f762f7140e03b7217 (diff) | |
download | linux-b007f09072ca8afa118ade333e717ba443e8d807.tar.gz linux-b007f09072ca8afa118ade333e717ba443e8d807.tar.bz2 linux-b007f09072ca8afa118ade333e717ba443e8d807.zip |
ipv4: make tcp_notsent_lowat sysctl knob behave as true unsigned int
> cat /proc/sys/net/ipv4/tcp_notsent_lowat
-1
> echo 4294967295 > /proc/sys/net/ipv4/tcp_notsent_lowat
-bash: echo: write error: Invalid argument
> echo -2147483648 > /proc/sys/net/ipv4/tcp_notsent_lowat
> cat /proc/sys/net/ipv4/tcp_notsent_lowat
-2147483648
but in documentation we have "tcp_notsent_lowat - UNSIGNED INTEGER"
v2: simplify to just proc_douintvec
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions