projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825e288
)
[IPV6] ROUTE: Allow searching subtree only.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Thu, 24 Aug 2006 00:21:50 +0000
(17:21 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:50 +0000
(14:55 -0700)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ip6_fib.c
b/net/ipv6/ip6_fib.c
index
19ee737
..
b706424
100644
(file)
--- a/
net/ipv6/ip6_fib.c
+++ b/
net/ipv6/ip6_fib.c
@@
-899,7
+899,7
@@
struct fib6_node * fib6_lookup(struct fib6_node *root, struct in6_addr *daddr,
}
};
- fn = fib6_lookup_1(root,
args
);
+ fn = fib6_lookup_1(root,
daddr ? args : args + 1
);
if (fn == NULL || fn->fn_flags & RTN_TL_ROOT)
fn = root;