[ldv-project] [PATCH] xen-netback: do not report success if backend_create_xenvif() fails
    David Miller 
    davem at davemloft.net
       
    Tue Nov 25 01:14:57 MSK 2014
    
    
  
From: Alexey Khoroshilov <khoroshilov at ispras.ru>
Date: Mon, 24 Nov 2014 13:58:00 +0300
> 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>
Applied, thanks.
    
    
More information about the ldv-project
mailing list