Bug #395
Fwd: [PATCH] ipv6: fib: Restore NTF_ROUTER exception in fib6_age()
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - |
Description
---------- Forwarded message ----------
From: Thomas Graf <tgraf@suug.ch>
Date: Thu, Jun 7, 2012 at 5:51 PM
Subject: [PATCH] ipv6: fib: Restore NTF_ROUTER exception in fib6_age()
To: davem@davemloft.net
Cc: netdev@vger.kernel.org
Commit 5339ab8b1dd82 (ipv6: fib: Convert fib6_age() to
dst_neigh_lookup().) seems to have mistakenly inverted the
exception for cached NTF_ROUTER routes.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
---
net/ipv6/ip6_fib.c | 2 ), 1 deletions()
1 files changed, 1 insertions(
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index 0c220a4..74c21b9 100644
--- a/net/ipv6/ip6_fib.c
++ b/net/ipv6/ip6_fib.c@ -1561,7 +1561,7 @ static int fib6_age(struct rt6_info *rt, void *arg)
neigh_flags = neigh->flags;
neigh_release(neigh);
}
- if (neigh_flags & NTF_ROUTER) {
if (!(neigh_flags & NTF_ROUTER)) {
RT6_TRACE("purging route %p via
non-router but gateway\n",
rt);
return -1;
History
Updated by David Taht 2 months ago
- Status changed from New to Closed