projects
/
cascardo
/
linux.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
[cascardo/linux.git]
/
net
/
ipv6
/
ip6_tunnel.c
diff --git
a/net/ipv6/ip6_tunnel.c
b/net/ipv6/ip6_tunnel.c
index
eabffbb
..
137fca4
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);