summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-05-17 14:10:52 -0300
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-05-17 14:10:52 -0300
commit2a238472e50629ee5316cc2a01c028aeb9fbba75 (patch)
tree5017dcdb5d6eddb6d0620ee5a3adf4d57226b8fd
parent96655561e2d4fd19e8943c7e13d83062bb88e6d9 (diff)
o ipv6/ip6_fib: use C99 struct style init and move rt_sernum to .bss
-rw-r--r--net/ipv6/ip6_fib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index d92c13766899..73c347b2688f 100644
--- a/net/ipv6/ip6_fib.c
+++ b/net/ipv6/ip6_fib.c
@@ -91,12 +91,13 @@ static struct fib6_node * fib6_repair_tree(struct fib6_node *fn);
* result of redirects, path MTU changes, etc.
*/
-static __u32 rt_sernum = 0;
+static __u32 rt_sernum;
static struct timer_list ip6_fib_timer = TIMER_INITIALIZER(fib6_run_gc, 0, 0);
static struct fib6_walker_t fib6_walker_list = {
- &fib6_walker_list, &fib6_walker_list,
+ .prev = &fib6_walker_list,
+ .next = &fib6_walker_list,
};
#define FOR_WALKERS(w) for ((w)=fib6_walker_list.next; (w) != &fib6_walker_list; (w)=(w)->next)