Marc-André Lureau
f1a0365b68
vhost-net: always call vhost_dev_cleanup() on failure
...
vhost_dev_init(), calling vhost backend initialization, should be
cleaned up after failure too. Call vhost_dev_cleanup() in all failure
cases. First, it needs to zero-alloc the struct to avoid the initial
garbage.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-07-29 00:33:47 +03:00
..
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-12 16:19:16 +02:00
2016-07-19 20:18:02 +02:00
2016-07-18 16:16:20 +08:00
2016-06-02 10:42:29 +08:00
2016-07-19 20:18:02 +02:00
2016-06-27 16:39:56 +01:00
2016-06-02 10:42:29 +08:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-18 16:17:02 +08:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-12 16:20:46 +02:00
2016-06-02 10:42:28 +08:00
2016-06-02 10:42:28 +08:00
2016-06-16 18:39:03 +02:00
2016-06-16 18:39:03 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-01-29 15:07:23 +00:00
2016-07-12 16:20:46 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-06-20 17:22:15 +01:00
2016-07-29 00:33:47 +03:00
2016-07-21 20:12:37 +01:00
2016-06-28 10:13:57 +08:00
2016-07-19 20:18:02 +02:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00