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: 69c80d4ef89b ("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
..
2017-05-01 00:16:36 +02:00
2017-04-21 01:22:59 +02:00
2017-04-21 02:15:29 +02:00
2017-04-21 01:29:21 +02:00
2017-04-05 23:03:23 +02:00