diff options
author | 2010-11-09 23:24:26 +0000 | |
---|---|---|
committer | 2010-11-10 12:12:00 -0800 | |
commit | 8d987e5c75107ca7515fa19e857cfa24aab6ec8f (patch) | |
tree | 6392c5f08f0df39d42a079336f6be3960ac404dc /kernel/sysctl.c | |
parent | net: packet: fix information leak to userland (diff) | |
download | linux-dev-8d987e5c75107ca7515fa19e857cfa24aab6ec8f.tar.xz linux-dev-8d987e5c75107ca7515fa19e857cfa24aab6ec8f.zip |
net: avoid limits overflow
Robin Holt tried to boot a 16TB machine and found some limits were
reached : sysctl_tcp_mem[2], sysctl_udp_mem[2]
We can switch infrastructure to use long "instead" of "int", now
atomic_long_t primitives are available for free.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Reported-by: Robin Holt <holt@sgi.com>
Reviewed-by: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions