linux/drivers/net/xen-netback
Alexey Khoroshilov 2dd34339ac 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 <khoroshilov@ispras.ru>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-24 16:14:45 -05:00
..
common.h xen-netback: reintroduce guest Rx stall detection 2014-10-25 14:15:20 -04:00
interface.c xen-netback: reintroduce guest Rx stall detection 2014-10-25 14:15:20 -04:00
Makefile
netback.c xen-netback: reintroduce guest Rx stall detection 2014-10-25 14:15:20 -04:00
xenbus.c xen-netback: do not report success if backend_create_xenvif() fails 2014-11-24 16:14:45 -05:00