Ilya Maximets
ca10203cde
vhost: check for vhost_ops before using.
...
'vhost_set_vring_enable()' tries to call function using pointer to
'vhost_ops' which can be already zeroized in 'vhost_dev_cleanup()'
while vhost disconnection.
Fix that by checking 'vhost_ops' before using. This fixes QEMU crash
on calling 'ethtool -L eth0 combined 2' if vhost disconnected.
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-08-10 17:47:29 +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-08-10 17:47:29 +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