From: Tommi Rantala Date: Wed, 6 Feb 2013 03:24:02 +0000 (+0000) Subject: ipv6/ip6_gre: fix error case handling in ip6gre_tunnel_xmit() X-Git-Tag: v3.8-rc7~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ab3e31bd50b42c85ac0aa0469642866aee2a9a;p=pandora-kernel.git ipv6/ip6_gre: fix error case handling in ip6gre_tunnel_xmit() ip6gre_tunnel_xmit() is leaking the skb when we hit this error branch, and the -1 return value from this function is bogus. Use the error handling we already have in place in ip6gre_tunnel_xmit() for this error case to fix this. Signed-off-by: Tommi Rantala Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed