Re: [PATCH] ip_tunnel: fix possible rtable leak

2014-06-05 Thread David Miller
From: Dmitry Popov Date: Fri, 6 Jun 2014 04:34:37 +0400 > ip_rt_put(rt) is always called in "error" branches above, but was missed in > skb_cow_head branch. As rt is not yet bound to skb here we have to release it > by > hand. > > Signed-off-by: Dmitry Popov Applied, thanks. -- To unsubscrib

[PATCH] ip_tunnel: fix possible rtable leak

2014-06-05 Thread Dmitry Popov
ip_rt_put(rt) is always called in "error" branches above, but was missed in skb_cow_head branch. As rt is not yet bound to skb here we have to release it by hand. Signed-off-by: Dmitry Popov --- net/ipv4/ip_tunnel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/ip_tunnel.c b/net