Re: [PATCH net-next v2 1/2] net: make net.core.{r,w}mem_{default,max} namespaced

From: Eric Dumazet
Date: Fri May 31 2024 - 04:12:49 EST


On Fri, May 31, 2024 at 1:27 AM <technoboy85@xxxxxxxxx> wrote:
>
> From: Matteo Croce <teknoraver@xxxxxxxx>
>
> The following sysctl are global and can't be read from a netns:
>
> net.core.rmem_default
> net.core.rmem_max
> net.core.wmem_default
> net.core.wmem_max
>
> Make the following sysctl parameters available readonly from within a
> network namespace, allowing a container to read them.
>
> Signed-off-by: Matteo Croce <teknoraver@xxxxxxxx>

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>