]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ip_tunnel: Fix dst ref-count.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 24 Mar 2014 05:06:36 +0000 (22:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2014 19:18:40 +0000 (15:18 -0400)
commitfbd02dd405d0724a0f25897ed4a6813297c9b96f
tree4ebae2c7d156ffa99c1c6ec2d14a8061d0a7b742
parent632b06aa2842b12c6d6a510ec080fb6ebdb38ea5
ip_tunnel: Fix dst ref-count.

Commit 10ddceb22ba (ip_tunnel:multicast process cause panic due
to skb->_skb_refdst NULL pointer) removed dst-drop call from
ip-tunnel-recv.

Following commit reintroduce dst-drop and fix the original bug by
checking loopback packet before releasing dst.
Original bug: https://bugzilla.kernel.org/show_bug.cgi?id=70681

CC: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_demux.c
net/ipv4/ip_tunnel.c
net/ipv4/ip_tunnel_core.c