Revision 2dd34339ac6305c4f2f4e589b858212e339d31e9 authored by Alexey Khoroshilov on 24 November 2014, 10:58:00 UTC, committed by David S. Miller on 24 November 2014, 21:14:45 UTC
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@ispras.ru>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent be6572f
History

back to top