]> git.baikalelectronics.ru Git - kernel.git/commit
udp: Move the udp sysctl to namespace.
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Wed, 14 Mar 2018 04:57:16 +0000 (21:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 16:03:30 +0000 (12:03 -0400)
commit4fd37a35942477e7ca41322cbc027accefb7a3de
tree652e061c917c60c76b5e81abcad944cdfdaaee43
parent52cda3d690ad557d5efbd91c468981cee53a712a
udp: Move the udp sysctl to namespace.

This patch moves the udp_rmem_min, udp_wmem_min
to namespace and init the udp_l3mdev_accept explicitly.

The udp_rmem_min/udp_wmem_min affect udp rx/tx queue,
with this patch namespaces can set them differently.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/udp.c
net/ipv6/udp.c