]> Git Repo - linux.git/commit
ipv6/ip6_gre: fix error case handling in ip6gre_tunnel_xmit()
authorTommi Rantala <[email protected]>
Wed, 6 Feb 2013 03:24:02 +0000 (03:24 +0000)
committerDavid S. Miller <[email protected]>
Wed, 6 Feb 2013 21:02:05 +0000 (16:02 -0500)
commit41ab3e31bd50b42c85ac0aa0469642866aee2a9a
treec3eb42cb9cdb497b6dd00524f4002adfa0975838
parent6731d2095bd4aef18027c72ef845ab1087c3ba63
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 <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/ip6_gre.c
This page took 0.05324 seconds and 4 git commands to generate.