Re: [PATCH 6/9] : fib_insert_node cleanup

2008-01-12 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 11 Jan 2008 22:45:19 -0800 > The only error from fib_insert_node is if memory allocation fails, > so instead of passing by reference, just use the convention of returning > NULL. > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> I'd b

[PATCH 6/9] : fib_insert_node cleanup

2008-01-11 Thread Stephen Hemminger
The only error from fib_insert_node is if memory allocation fails, so instead of passing by reference, just use the convention of returning NULL. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/net/ipv4/fib_trie.c 2008-01-11 22:04:08.0 -0800 +++ b/net/ipv4/fib_trie.c