net: avoid limits overflow
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 9 Nov 2010 23:24:26 +0000 (23:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Nov 2010 20:12:00 +0000 (12:12 -0800)
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>

No differences found