#
5086e1b7 |
| 01-Jun-2024 |
Jakub Kicinski <kuba@kernel.org> |
Merge branch 'net-visibility-of-memory-limits-in-netns'
Matteo Croce says:
==================== net: visibility of memory limits in netns
Some programs need to know the size of the network buffers
Merge branch 'net-visibility-of-memory-limits-in-netns'
Matteo Croce says:
==================== net: visibility of memory limits in netns
Some programs need to know the size of the network buffers to operate correctly, export the following sysctls read-only in network namespaces:
- net.core.rmem_default - net.core.rmem_max - net.core.wmem_default - net.core.wmem_max ====================
Link: https://lore.kernel.org/r/20240530232722.45255-1-technoboy85@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
#
5b5233fb |
| 30-May-2024 |
Matteo Croce <teknoraver@meta.com> |
selftests: net: tests net.core.{r,w}mem_{default,max} sysctls in a netns
Add a selftest which checks that the sysctl is present in a netns, that the value is read from the init one, and that it's re
selftests: net: tests net.core.{r,w}mem_{default,max} sysctls in a netns
Add a selftest which checks that the sysctl is present in a netns, that the value is read from the init one, and that it's readonly.
Signed-off-by: Matteo Croce <teknoraver@meta.com> Link: https://lore.kernel.org/r/20240530232722.45255-3-technoboy85@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|