Re: [PATCH] kernel: sysctl: change ipfrag_high/low_thresh to CTL_ULONG

From: Eric Dumazet
Date: Fri May 24 2019 - 11:03:49 EST


On Fri, May 24, 2019 at 7:30 AM Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> wrote:
>
> 3e67f106f619 ("inet: frags: break the 2GB limit for frags storage"),
> changes ipfrag_high/low_thread 'type' from int to long, using CTL_ULONG
> instead of CTL_INT to keep consistent.


What about compatibility with existing applications ?
Will there sysctl() fail if they provide 32bit variable ?

/proc/sys/net files are text files, but sysctl() system call has been
discouraged for more than a decade.