numam-dpdk/lib/librte_ether
Huanle Han 0e78cfddc0 net/virtio: fix crash when closing twice
This commit fixs segment fault when rte_eth_dev_close() is called on
a virtio dev more than once.  Assigning zero after free to avoids
freed memory to be accessed again.

Fixes: 69c80d4ef8 ("net/virtio: allocate queue at init stage")
Cc: stable@dpdk.org

Signed-off-by: Huanle Han <hanxueluo@gmail.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-04-28 07:01:22 +02:00
..
Makefile ethdev: add PCI driver helpers 2017-04-18 19:05:30 +02:00
rte_dev_info.h lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
rte_eth_ctrl.h ethdev: introduce generic flow API 2016-12-23 10:11:07 +01:00
rte_ethdev_pci.h ethdev: introduce device removal event 2017-04-21 01:01:35 +02:00
rte_ethdev_vdev.h ethdev: remove ethdev driver 2017-04-18 19:07:45 +02:00
rte_ethdev.c net/virtio: fix crash when closing twice 2017-04-28 07:01:22 +02:00
rte_ethdev.h eal: fix debug macro redefinition 2017-05-01 00:10:23 +02:00
rte_ether_version.map ethdev: get xstats ID by name 2017-04-20 22:30:25 +02:00
rte_flow_driver.h ethdev: modify flow API error function 2017-01-11 16:53:07 +01:00
rte_flow.c ethdev: modify flow API error function 2017-01-11 16:53:07 +01:00
rte_flow.h ethdev: fix incomplete items in flow API 2017-05-01 00:13:15 +02:00