xen/netback: don't leak pages on failure in xen_netbk_tx_check_gop.
authorMatthew Daley <mattjd@gmail.com>
Wed, 6 Feb 2013 23:41:36 +0000 (23:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Feb 2013 18:49:06 +0000 (10:49 -0800)
commit33eb2607ebfcb68bc9ae8ab029f916f1f4ee5097
tree9124b0dd2a87598210579e52a6bd50006bc605a5
parentbe7254fc6c92c016a6768cc30596198c61043ff5
xen/netback: don't leak pages on failure in xen_netbk_tx_check_gop.

[ Upstream commit 7d5145d8eb2b9791533ffe4dc003b129b9696c48 ]

Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/xen-netback/netback.c