]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[FIB_TRIE]: Don't ignore negative results from fib_semantic_match
authorPatrick McHardy <kaber@trash.net>
Wed, 24 Aug 2005 05:06:09 +0000 (22:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2005 05:06:09 +0000 (22:06 -0700)
commit06c7427021f1cc83703f14659d8405ca773ba1ef
tree01d66754d441b84cb09fe28f875cbb47b3b9fb0c
parent0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf
[FIB_TRIE]: Don't ignore negative results from fib_semantic_match

When a semantic match occurs either success, not found or an error
(for matching unreachable routes/blackholes) is returned. fib_trie
ignores the errors and looks for a different matching route. Treat
results other than "no match" as success and end lookup.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c