ipv6-multicast: Fix memory leak in IPv6 multicast.
authorBen Greear <greearb@candelatech.com>
Fri, 23 Sep 2011 13:11:01 +0000 (13:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:33:51 +0000 (16:33 -0800)
commit24190a04c967d91e718bbe7a871e418edb9424aa
tree7fc9738a4ec0dcc1ced09479d7079a9dae8ad421
parent23b139ecf944b097a0493262cbc04886363bd8e6
ipv6-multicast: Fix memory leak in IPv6 multicast.

[ Upstream commit 67928c4041606f02725f3c95c4c0404e4532df1b ]

If reg_vif_xmit cannot find a routing entry, be sure to
free the skb before returning the error.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ip6mr.c