Ben Hutchings 2e655571c6 ipv4: fib_trie: Fix lookup error return
In commit a07f5f508a4d9728c8e57d7f66294bf5b254ff7f "[IPV4] fib_trie: style
cleanup", the changes to check_leaf() and fn_trie_lookup() were wrong - where
fn_trie_lookup() would previously return a negative error value from
check_leaf(), it now returns 0.
 
Now fn_trie_lookup() doesn't appear to care about plen, so we can revert
check_leaf() to returning the error value.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Tested-by: William Boughton <bill@boughton.de>
Acked-by: Stephen Heminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-10 16:52:52 -07:00
..
2008-01-28 14:58:15 -08:00
2008-05-21 17:47:54 -07:00
2008-05-21 17:47:54 -07:00
2008-03-06 16:22:02 -08:00
2008-05-01 08:03:58 -07:00
2008-07-10 16:51:32 -07:00
2008-06-05 04:02:38 +09:00
2008-03-26 16:51:09 -07:00
2008-03-26 16:51:09 -07:00