linux/net
Glauber Costa 3aaabe2342 tcp buffer limitation: per-cgroup limit
This patch uses the "tcp.limit_in_bytes" field of the kmem_cgroup to
effectively control the amount of kernel memory pinned by a cgroup.

This value is ignored in the root cgroup, and in all others,
caps the value specified by the admin in the net namespaces'
view of tcp_sysctl_mem.

If namespaces are being used, the admin is allowed to set a
value bigger than cgroup's maximum, the same way it is allowed
to set pretty much unlimited values in a real box.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: Hiroyouki Kamezawa <kamezawa.hiroyu@jp.fujitsu.com>
CC: David S. Miller <davem@davemloft.net>
CC: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-12 19:04:11 -05:00
..
9p
802
8021q vlan: add 802.1q netpoll support 2011-12-08 19:58:30 -05:00
appletalk
atm net: Rename dst_get_neighbour{, _raw} to dst_get_neighbour_noref{, _raw}. 2011-12-05 15:20:19 -05:00
ax25 NET: AX.25: Check ioctl arguments to avoid overflows further down the road. 2011-11-29 00:23:12 -05:00
batman-adv
bluetooth Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2011-12-06 16:02:05 -05:00
bridge net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
caif caif: Replace BUG_ON with WARN_ON. 2011-12-06 17:21:47 -05:00
can
ceph
core tcp memory pressure controls 2011-12-12 19:04:10 -05:00
dcb
dccp net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
decnet net: Rename dst_get_neighbour{, _raw} to dst_get_neighbour_noref{, _raw}. 2011-12-05 15:20:19 -05:00
dns_resolver
dsa dsa: Move switch drivers to new directory drivers/net/dsa 2011-11-29 00:21:36 -05:00
econet
ethernet
ieee802154
ipv4 tcp buffer limitation: per-cgroup limit 2011-12-12 19:04:11 -05:00
ipv6 per-netns ipv4 sysctl_tcp_mem 2011-12-12 19:04:11 -05:00
ipx
irda
iucv
key net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
l2tp l2tp: ensure sk->dst is still valid 2011-11-26 15:57:36 -05:00
lapb
llc
mac80211 mac80211: Remove WARN_ON in apply-ht-override logic. 2011-12-06 16:07:07 -05:00
netfilter net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlink genetlink: Add lockdep_genl_is_held(). 2011-12-03 09:35:07 -08:00
netrom NET: NETROM: Fix formatting. 2011-11-29 00:23:13 -05:00
nfc nfc: Remove function tracer like entry messages 2011-11-30 15:08:38 -05:00
openvswitch openvswitch: small potential memory leak in ovs_vport_alloc() 2011-12-06 12:58:57 -05:00
packet
phonet
rds
rfkill net: rfkill: convert net/rfkill/* to use module_platform_driver() 2011-11-30 15:08:27 -05:00
rose
rxrpc
sched sch_red: generalize accurate MAX_P support to RED/GRED/CHOKE 2011-12-09 13:46:15 -05:00
sctp net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
sunrpc net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
tipc
unix AF_UNIX: Fix poll blocking problem when reading from a stream socket 2011-11-26 16:34:22 -05:00
wanrouter
wimax
wireless wireless: disable wext sysfs by default 2011-12-07 15:19:39 -05:00
x25
xfrm net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
compat.c
Kconfig net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
Makefile net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
nonet.c
socket.c net: add network priority cgroup infrastructure (v4) 2011-11-22 15:22:23 -05:00
sysctl_net.c