From: Alexey Khoroshilov Date: Mon, 24 Nov 2014 10:58:00 +0000 (+0300) Subject: xen-netback: do not report success if backend_create_xenvif() fails X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~65^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd34339ac6305c4f2f4e589b858212e339d31e9;p=pandora-kernel.git xen-netback: do not report success if backend_create_xenvif() fails If xenvif_alloc() or xenbus_scanf() fail in backend_create_xenvif(), xenbus is left in offline mode but netback_probe() reports success. The patch implements propagation of error code for backend_create_xenvif(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Wei Liu Signed-off-by: David S. Miller --- Reading git-diff-tree failed