projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c813a7
)
[IPV6]: Fix policy routing lookup
author
Patrick McHardy
<
[email protected]
>
Mon, 7 Aug 2006 05:24:08 +0000
(22:24 -0700)
committer
David S. Miller
<
[email protected]
>
Fri, 22 Sep 2006 21:53:58 +0000
(14:53 -0700)
When the lookup in a table returns ip6_null_entry the policy routing lookup
returns it instead of continuing in the next table, which effectively means
it only searches the local table.
Signed-off-by: Patrick McHardy <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv6/fib6_rules.c
patch
|
blob
|
history
diff --git
a/net/ipv6/fib6_rules.c
b/net/ipv6/fib6_rules.c
index c3c8195744ee43d7635f95368762b19810f8462f..94a46ec967a41a9bac8c428f4ff3b466263183c6 100644
(file)
--- a/
net/ipv6/fib6_rules.c
+++ b/
net/ipv6/fib6_rules.c
@@
-94,8
+94,10
@@
int fib6_rule_action(struct fib_rule *rule, struct flowi *flp,
if (rt != &ip6_null_entry)
goto out;
-
dst_release(&rt->u.dst);
+ rt = NULL;
+ goto out;
+
discard_pkt:
dst_hold(&rt->u.dst);
out: