[NET]: Fix heavy stack usage in seq_file output routines.
authorPavel Emelyanov <xemul@openvz.org>
Thu, 24 Apr 2008 08:02:16 +0000 (01:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Apr 2008 08:02:16 +0000 (01:02 -0700)
commit5e659e4cb0eedacdc1f621a61e400a4611ddef8a
treefa3c8743010dd640c48584a6fa8a910d27350c01
parent3d36696024499aef19dbf24a781e91a24fbbe4af
[NET]: Fix heavy stack usage in seq_file output routines.

Plan C: we can follow the Al Viro's proposal about %n like in this patch.
The same applies to udp, fib (the /proc/net/route file), rt_cache and
sctp debug. This is minus ~150-200 bytes for each.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_hash.c
net/ipv4/fib_trie.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c
net/sctp/objcnt.c