Skip to contentSkip to conversation

Remove struct pol_chain.

PATCH Applied Ville Nuorvala 2 participants 2 messages Oct 16, 2006 – Oct 17, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/13 Remove struct pol_chain.

Struct pol_chain has existed since at least the 2.2 kernel, but isn't used anymore. As the IPv6 policy routing is implemented in a totally different way in the current kernel, just get rid of it.

---
 include/net/ip6_route.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
include/net/ip6_route.h +0 -7
index 6ca6b71..c14b70e 100644
@@ -36,13 +36,6 @@ #define RT6_LOOKUP_F_IFACE	0x1
 #define RT6_LOOKUP_F_REACHABLE	0x2
 #define RT6_LOOKUP_F_HAS_SADDR	0x4
 
-struct pol_chain {
-	int			type;
-	int			priority;
-	struct fib6_node	*rules;
-	struct pol_chain	*next;
-};
-
 extern struct rt6_info	ip6_null_entry;
 
 #ifdef CONFIG_IPV6_MULTIPLE_TABLES
Signature · 1 line
1.4.2.3
maintainer Applied
#1 lore raw

From: Ville Nuorvala <[email protected]>
Date: Tue, 17 Oct 2006 02:54:27 +0300

Quoted 5 lines

Struct pol_chain has existed since at least the 2.2 kernel, but isn't used anymore. As the IPv6 policy routing is implemented in a totally different way in the current kernel, just get rid of it.

That's obvious enough, good catch.

Applied, thanks a lot.