diff options
author | Tommi Rantala <tt.rantala@gmail.com> | 2013-02-06 03:24:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-06 16:02:05 -0500 |
commit | 41ab3e31bd50b42c85ac0aa0469642866aee2a9a (patch) | |
tree | c3eb42cb9cdb497b6dd00524f4002adfa0975838 /tools | |
parent | 6731d2095bd4aef18027c72ef845ab1087c3ba63 (diff) |
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 <tt.rantala@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions