numam-dpdk/drivers/net/virtio
Zhiyong Yang 7c7f2e6088 net/virtio: fix queues pointer check
It is necessary to add pointer checking because in some case the
code will cause crash. For example, the code goes here before
memory allocation of rxvq is finished.

Fixes: 7365504f77 ("net/virtio: support guest announce")
Cc: stable@dpdk.org

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Reviewed-by: Jianfeng Tan <jianfeng.tan@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-03-30 14:08:44 +02:00
..
virtio_user net/virtio-user: specify MAC of the tap 2018-03-30 14:08:44 +02:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build net/virtio: add to meson build 2018-03-12 16:29:27 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c net/virtio: fix queues pointer check 2018-03-30 14:08:44 +02:00
virtio_ethdev.h net/virtio: support guest announce 2018-01-21 15:51:52 +01:00
virtio_logs.h net/virtio: implement dynamic logging 2018-01-16 18:47:49 +01:00
virtio_pci.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_pci.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_ring.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_rxtx_simple_neon.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple.c net/virtio: fix resuming port with Rx vector path 2018-02-13 18:57:59 +01:00
virtio_rxtx_simple.h net/virtio: fix resuming port with Rx vector path 2018-02-13 18:57:59 +01:00
virtio_rxtx.c net/virtio: fix resuming port with Rx vector path 2018-02-13 18:57:59 +01:00
virtio_rxtx.h net/virtio: fix resuming port with Rx vector path 2018-02-13 18:57:59 +01:00
virtio_user_ethdev.c net/virtio-user: check error on clearing non block flag 2018-02-06 22:09:17 +01:00
virtqueue.c net/virtio: fix typo in function name 2018-01-29 10:04:28 +01:00
virtqueue.h net/virtio: fix typo in function name 2018-01-29 10:04:28 +01:00