ipv6-multicast: Fix memory leak in IPv6 multicast.
authorBen Greear <greearb@candelatech.com>
Fri, 23 Sep 2011 13:11:01 +0000 (13:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2011 19:34:00 +0000 (15:34 -0400)
commit67928c4041606f02725f3c95c4c0404e4532df1b
tree52e69d8e283dc0efe3f6b406ce996cc999bc1e78
parentfbe58186901155c0cb5398dd343337be0c456c04
ipv6-multicast: Fix memory leak in IPv6 multicast.

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>
net/ipv6/ip6mr.c