summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv6/ip6_fib.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv6/ip6_fib.c')
-rw-r--r--kernel/net/ipv6/ip6_fib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/net/ipv6/ip6_fib.c b/kernel/net/ipv6/ip6_fib.c
index 0c7e276c2..34cf46d74 100644
--- a/kernel/net/ipv6/ip6_fib.c
+++ b/kernel/net/ipv6/ip6_fib.c
@@ -179,6 +179,7 @@ static void rt6_free_pcpu(struct rt6_info *non_pcpu_rt)
}
}
+ free_percpu(non_pcpu_rt->rt6i_pcpu);
non_pcpu_rt->rt6i_pcpu = NULL;
}