Re: [PATCH v4 1/2] ip_tunnel: fix potential issue in ip_tunnel_rcv

2017-06-16 Thread David Miller
From: Haishuang Yan Date: Thu, 15 Jun 2017 10:29:29 +0800 > When ip_tunnel_rcv fails, the tun_dst won't be freed, so call > dst_release to free it in error code path. > > Fixes: 2e15ea390e6f ("ip_gre: Add support to collect tunnel metadata.") > Acked-by: Eric Dumazet > Acked-by: Pravin B Shelar

[PATCH v4 1/2] ip_tunnel: fix potential issue in ip_tunnel_rcv

2017-06-14 Thread Haishuang Yan
When ip_tunnel_rcv fails, the tun_dst won't be freed, so call dst_release to free it in error code path. Fixes: 2e15ea390e6f ("ip_gre: Add support to collect tunnel metadata.") Acked-by: Eric Dumazet Acked-by: Pravin B Shelar Tested-by: Zhang Shengju Signed-off-by: Haishuang Yan --- Change si