ipv6-multicast: Fix memory leak in input path.
authorBen Greear <greearb@candelatech.com>
Tue, 27 Sep 2011 19:16:08 +0000 (15:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:33:48 +0000 (16:33 -0800)
commit23b139ecf944b097a0493262cbc04886363bd8e6
tree7fb53fa36a9aed58423ab8df27798d81d1103a3b
parentd6be19f41ab91acca04abdca61353245d57d9ffc
ipv6-multicast: Fix memory leak in input path.

[ Upstream commit 2015de5fe2a47086a3260802275932bfd810884e ]

Have to free the skb before returning if we fail
the fib lookup.

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