numam-dpdk/drivers
Marvin Liu 01996a034a net/virtio: fix crash when device reconnecting
When doing virtio device initialization, virtqueues will be reset in
server mode if ring type is packed. It will cause issue because queues
have been freed in the beginning of device initialization.

Fix this issue by checking whether device has been initialized before
reset. If device hasn't been initialized, there's no need to reset
queues.

Fixes: 6ebbf4109f ("net/virtio-user: fix packed ring server mode")
Cc: stable@dpdk.org

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-05-11 22:27:39 +02:00
..
baseband baseband/fpga_5gnr_fec: support interrupt 2020-04-19 22:34:26 +02:00
bus bus/vmbus: add missing barrier 2020-05-11 22:27:39 +02:00
common common/qat: remove redundant check 2020-05-11 13:17:43 +02:00
compress fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
crypto crypto/zuc: support IPsec Multi-buffer lib v0.54 2020-05-11 13:17:43 +02:00
event event/octeontx2: fix build for O1 optimization 2020-05-11 21:09:20 +02:00
mempool mempool/octeontx2: fix build for gcc O1 optimization 2020-05-11 19:21:18 +02:00
net net/virtio: fix crash when device reconnecting 2020-05-11 22:27:39 +02:00
raw raw/ioat: support ICX 2020-05-11 17:18:58 +02:00
vdpa vdpa/mlx5: fix PCI address comparison 2020-05-05 15:54:26 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: add internal tag check 2020-04-25 17:01:01 +02:00