: Fix policy routing lookup
Subsystems (3)
[IPV6]: Fix policy routing lookup
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.
---
commit f5d49889512f24f3819c6aa1e0dca72061b372fe
tree 489216e0f5d31ed37d3f3cee40475b2672ad7c70
parent d3ddd45b230e8b56873c77d266004fec49c44f8b
author Patrick McHardy <[email protected]> Mon, 07 Aug 2006 06:57:55 +0200 committer Patrick McHardy <[email protected]> Mon, 07 Aug 2006 06:57:55 +0200
net/ipv6/fib6_rules.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
net/ipv6/fib6_rules.c +3 -1
@@ -94,8 +94,10 @@ int fib6_rule_action(struct fib_rule *ruif (rt != &ip6_null_entry) goto out; -dst_release (&rt->u.dst); + rt =NULL ; + goto out; + discard_pkt:dst_hold (&rt->u.dst); out:
David Miller
maintainerFrom: Patrick McHardy <[email protected]>
Date: Mon, 07 Aug 2006 07:19:10 +0200
Quoted 7 lines
[IPV6]: Fix policy routing lookup
When the lookup in a table returns
ip6_null_entrythe 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]>
Thanks for fixing this, applied.