]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdc9ba61da0793e15d235406440882d78a122bf5e
treefa3c8743010dd640c48584a6fa8a910d27350c01
parent0dd639e971949a7c38540d24b799f06582e4d142
[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