diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-04 16:48:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-04 16:48:10 -0500 |
commit | bdb3289f739e94bcae8b51972ae844ec66c2f4df (patch) | |
tree | 2ffffce475a82a69bbe8092be3d3f260fe83b003 /include/net | |
parent | 5578689a4e3c04f2d43ea39736fd3fa396d80c6e (diff) |
[NETNS][IPV6] rt6_info - make rt6_info accessed as a pointer
This patch make mindless changes and prepares the code to use dynamic
allocation for rt6_info structure. The code accesses the rt6_info
structure as a pointer instead of a global static variable.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip6_route.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 2bcbfb826530..e0caed25bfba 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -34,11 +34,11 @@ struct route_info { | |||
34 | #define RT6_LOOKUP_F_REACHABLE 0x2 | 34 | #define RT6_LOOKUP_F_REACHABLE 0x2 |
35 | #define RT6_LOOKUP_F_HAS_SADDR 0x4 | 35 | #define RT6_LOOKUP_F_HAS_SADDR 0x4 |
36 | 36 | ||
37 | extern struct rt6_info ip6_null_entry; | 37 | extern struct rt6_info *ip6_null_entry; |
38 | 38 | ||
39 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES | 39 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES |
40 | extern struct rt6_info ip6_prohibit_entry; | 40 | extern struct rt6_info *ip6_prohibit_entry; |
41 | extern struct rt6_info ip6_blk_hole_entry; | 41 | extern struct rt6_info *ip6_blk_hole_entry; |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | extern void ip6_route_input(struct sk_buff *skb); | 44 | extern void ip6_route_input(struct sk_buff *skb); |