From: Ben Hutchings Date: Thu, 10 Jul 2008 23:52:52 +0000 (-0700) Subject: ipv4: fib_trie: Fix lookup error return X-Git-Tag: v2.6.26~25^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e655571c618434c24ac2ca989374fdd84470d6d;p=pandora-kernel.git 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 Tested-by: William Boughton Acked-by: Stephen Heminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed