Skip to contentSkip to conversation

Minor clenup: remove two unused definitions in net/ip6_route.h

PATCH Applied Rami Rosen 2 participants 2 messages Feb 7, 2008 – Feb 8, 2008

Subsystems (3)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 Minor clenup: remove two unused definitions in net/ip6_route.h

Hi,
Remove IP6_RT_PRIO_FW and IP6_RT_FLOW_MASK definitions in include/net/ip6_route.h, as they are not used in the kernel.

Regards,
Rami Rosen

include/net/ip6_route.h +0 -2
index faac0ee..f99e4f0 100644
@@ -1,11 +1,9 @@
 #ifndef _NET_IP6_ROUTE_H
 #define _NET_IP6_ROUTE_H
 
-#define IP6_RT_PRIO_FW		16
 #define IP6_RT_PRIO_USER	1024
 #define IP6_RT_PRIO_ADDRCONF	256
 #define IP6_RT_PRIO_KERN	512
-#define IP6_RT_FLOW_MASK	0x00ff
 
 struct route_info {
 	__u8			type;
maintainer Applied
#1 lore raw

From: "Rami Rosen" <[email protected]>
Date: Thu, 7 Feb 2008 17:58:07 +0200

Quoted 4 lines

Remove IP6_RT_PRIO_FW and IP6_RT_FLOW_MASK definitions in include/net/ip6_route.h, as they are not used in the kernel.

Applied.

If you grep for "fc_metric" in the tree you'll see some explicit uses of the magic constant "1024" which probably should be replaced with IP6_RT_PRIO_USER. If you could verify that and cook up a patch if correct, I'd appreciate it.

Thanks.