numam-dpdk/lib
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
..
librte_acl lib: remove unnecessary void cast 2017-04-11 18:05:10 +02:00
librte_bitratestats bitrate: fix exported header 2017-05-01 00:13:15 +02:00
librte_cfgfile cfgfile: support empty value 2017-04-04 16:32:06 +02:00
librte_cmdline cmdline: fix parsing 2017-05-01 00:16:36 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev eal: fix debug macro redefinition 2017-05-01 00:10:23 +02:00
librte_distributor distributor: fix crash in flush 2017-04-21 01:03:35 +02:00
librte_eal eal: fix debug macro redefinition 2017-05-01 00:10:23 +02:00
librte_efd efd: fix missing include in exported header 2017-05-01 00:13:15 +02:00
librte_ether net/virtio: fix crash when closing twice 2017-04-28 07:01:22 +02:00
librte_eventdev eventdev: fix headers for strict compilation flags 2017-05-01 00:13:15 +02:00
librte_hash ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
librte_ip_frag mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_jobstats mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_kni kni: fix possible memory leak 2017-04-21 01:22:59 +02:00
librte_kvargs mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_latencystats latency: fix missing includes in exported header 2017-05-01 00:13:15 +02:00
librte_lpm mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_mbuf mbuf: fix missing includes in exported header 2017-05-01 00:10:23 +02:00
librte_mempool lib: remove unnecessary void cast 2017-04-11 18:05:10 +02:00
librte_meter mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_metrics metrics: fix exported header 2017-05-01 00:13:15 +02:00
librte_net net: fix missing include in exported header 2017-05-01 00:10:23 +02:00
librte_pdump ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
librte_pipeline mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_port port: fix minor typo 2017-04-21 02:15:29 +02:00
librte_power mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_reorder mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_ring ring: fix return value for single dequeue 2017-04-13 17:18:27 +02:00
librte_sched mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_table table: fix stats update 2017-04-21 01:29:21 +02:00
librte_timer mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_vhost vhost: fix header for strict compilation flags 2017-05-01 00:13:15 +02:00
Makefile net: add CRC computation API 2017-04-05 23:03:23 +02:00