Re: [PATCH net-next 3/3] net: core: Namespace-ify sysctl_rmem_max and sysctl_wmem_max

From: Florian Westphal
Date: Wed Jan 20 2021 - 07:03:41 EST

menglong8.dong@xxxxxxxxx <menglong8.dong@xxxxxxxxx> wrote:
> From: Menglong Dong <dong.menglong@xxxxxxxxxx>
> For now, sysctl_wmem_max and sysctl_rmem_max are globally unified.
> It's not convenient in some case. For example, when we use docker
> and try to control the default udp socket receive buffer for each
> container.
> For that reason, make sysctl_wmem_max and sysctl_rmem_max
> per-namespace.

I think having those values be restricted by init netns is a desirable