aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlabel
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-07-10 19:52:52 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-10 19:52:52 -0400
commit2e655571c618434c24ac2ca989374fdd84470d6d (patch)
treebf339af1fa392043afa9780d8f08e25ac6358a70 /net/netlabel
parent3d8ea1fd7001f39b5cc0ad2ff51696292ea3cfbf (diff)
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>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions