aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_fib.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r--net/ipv6/ip6_fib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index 6a612a701eaa..946cf389ab95 100644
--- a/net/ipv6/ip6_fib.c
+++ b/net/ipv6/ip6_fib.c
@@ -1313,7 +1313,7 @@ static int fib6_clean_node(struct fib6_walker_t *w)
1313{ 1313{
1314 int res; 1314 int res;
1315 struct rt6_info *rt; 1315 struct rt6_info *rt;
1316 struct fib6_cleaner_t *c = (struct fib6_cleaner_t*)w; 1316 struct fib6_cleaner_t *c = container_of(w, struct fib6_cleaner_t, w);
1317 1317
1318 for (rt = w->leaf; rt; rt = rt->u.dst.rt6_next) { 1318 for (rt = w->leaf; rt; rt = rt->u.dst.rt6_next) {
1319 res = c->func(rt, c->arg); 1319 res = c->func(rt, c->arg);