Re: [PATCH v2] ipv4: make tcp_notsent_lowat sysctl knob behave as true unsigned int
From: David Miller
Date: Mon Jan 09 2017 - 16:40:47 EST
From: Pavel Tikhomirov <ptikhomirov@xxxxxxxxxxxxx>
Date: Mon, 9 Jan 2017 10:45:49 +0300
>> 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@xxxxxxxxxxxxx>
Applied.