[ldv-project] [PATCH] xen-netback: do not report success if backend_create_xenvif() fails
Wei Liu
wei.liu2 at citrix.com
Mon Nov 24 15:03:08 MSK 2014
On Mon, Nov 24, 2014 at 01:58:00PM +0300, Alexey Khoroshilov wrote:
> 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 <khoroshilov at ispras.ru>
Acked-by: Wei Liu <wei.liu2 at citrix.com>
Thanks!
More information about the ldv-project
mailing list