Commit 19249c07 authored by Matteo Croce's avatar Matteo Croce Committed by Jakub Kicinski
Browse files

net: make net.core.{r,w}mem_{default,max} namespaced



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: default avatarMatteo Croce <teknoraver@meta.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Reviewed-by: default avatarShakeel Butt <shakeel.butt@linux.dev>
Link: https://lore.kernel.org/r/20240530232722.45255-2-technoboy85@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 165f8769
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment