aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2015-11-18 15:40:19 +0000
committerDavid S. Miller <[email protected]>2015-11-18 21:25:01 +0000
commit206b49500df558dbc15d8836b09f6397ec5ed8bb (patch)
tree03a2b1282be6fcbefcdbfcafa4bbdfd14e45f76b /net/ipv4/tcp_timer.c
parentnet: macb: Add support for sgmii phy interface (diff)
downloadkernel-206b49500df558dbc15d8836b09f6397ec5ed8bb.tar.gz
kernel-206b49500df558dbc15d8836b09f6397ec5ed8bb.zip
net/ip6_tunnel: fix dst leak
the commit cdf3464e6c6b ("ipv6: Fix dst_entry refcnt bugs in ip6_tunnel") introduced percpu storage for ip6_tunnel dst cache, but while clearing such cache it used raw_cpu_ptr to walk the per cpu entries, so cached dst on non current cpu are not actually reset. This patch replaces raw_cpu_ptr with per_cpu_ptr, properly cleaning such storage. Fixes: cdf3464e6c6b ("ipv6: Fix dst_entry refcnt bugs in ip6_tunnel") Signed-off-by: Paolo Abeni <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions