diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2014-11-24 11:58:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-24 22:14:45 +0100 |
commit | 2dd34339ac6305c4f2f4e589b858212e339d31e9 (patch) | |
tree | 0ee36ed91c86226b7fed62c6fbd98066bab6fef2 /net/rxrpc | |
parent | ipv6: gre: fix wrong skb->protocol in WCCP (diff) | |
download | linux-2dd34339ac6305c4f2f4e589b858212e339d31e9.tar.xz linux-2dd34339ac6305c4f2f4e589b858212e339d31e9.zip |
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>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions