projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/ip6_tunnel: fix dst leak
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv6
/
ip6_tunnel.c
diff --git
a/net/ipv6/ip6_tunnel.c
b/net/ipv6/ip6_tunnel.c
index eabffbb89795d921b0977989345b25d81f553ee0..137fca42aaa6bb809d46e7809b240d8810d89a04 100644
(file)
--- a/
net/ipv6/ip6_tunnel.c
+++ b/
net/ipv6/ip6_tunnel.c
@@
-177,7
+177,7
@@
void ip6_tnl_dst_reset(struct ip6_tnl *t)
int i;
for_each_possible_cpu(i)
- ip6_tnl_per_cpu_dst_set(
raw_cpu_ptr(t->dst_cache
), NULL);
+ ip6_tnl_per_cpu_dst_set(
per_cpu_ptr(t->dst_cache, i
), NULL);
}
EXPORT_SYMBOL_GPL(ip6_tnl_dst_reset);