Thread (9 messages) flat view 9 messages, 4 authors, 2008-01-15

Re: [PATCH] [IPV4] fib_trie: size and statistics

From: David Miller <davem@davemloft.net>
Date: 2008-01-15 07:12:12

From: Stephen Hemminger <redacted>
Date: Mon, 14 Jan 2008 12:57:55 -0800
Show number of entries in trie, the size field was being set but never used,
but it only counted leaves, not all entries. Refactor the two cases in
fib_triestat_seq_show into a single routine.

Note: the stat structure was being malloc'd but the stack usage isn't so
high (288 bytes) that it is worth the additional complexity.

Signed-off-by: Stephen Hemminger <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help