numam-dpdk/drivers/net
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
..
af_packet drivers/net: use ethdev allocation helper for vdev 2017-04-18 19:04:49 +02:00
ark net/ark: fix build on FreeBSD 2017-04-21 16:19:40 +02:00
avp net/avp: fix interrupt migration check 2017-04-28 14:46:19 +02:00
bnx2x drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
bnxt net/bnxt: add new device ids 2017-04-28 14:46:18 +02:00
bonding net/bonding: fix updating slave link status 2017-04-28 14:46:18 +02:00
cxgbe net/cxgbe: fix possible null pointer dereference 2017-04-19 15:37:37 +02:00
dpaa2 net/dpaa2: enable frame queue based dequeuing 2017-04-19 15:37:37 +02:00
e1000 net/e1000: support xstats by ID 2017-04-20 22:30:26 +02:00
ena net/ena: calculate partial checksum if DF bit is disabled 2017-04-19 15:37:37 +02:00
enic net/enic: remove initialization of some mbuf fields 2017-04-19 15:37:37 +02:00
fm10k drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
i40e net/i40e: fix mbuf alloc failed counter 2017-04-28 14:46:18 +02:00
ixgbe net/ixgbe: fix ntuple filter for SCTP 2017-04-28 14:46:19 +02:00
kni net/kni: remove unnecessary null check 2017-04-19 15:37:37 +02:00
liquidio net/liquidio: support 25G link speed 2017-04-19 15:37:37 +02:00
mlx4 net/mlx4: support device removal event 2017-04-21 01:01:47 +02:00
mlx5 net/mlx5: fix IPv6 flow pattern item 2017-04-28 14:46:17 +02:00
nfp net/nfp: fix releasing muti-segment mbufs 2017-04-28 14:46:18 +02:00
null drivers/net: use ethdev allocation helper for vdev 2017-04-18 19:04:49 +02:00
pcap drivers/net: use ethdev allocation helper for vdev 2017-04-18 19:04:49 +02:00
qede net/qede: fix CFLAGS for base files 2017-04-28 14:46:18 +02:00
ring ethdev: remove ethdev driver 2017-04-18 19:07:45 +02:00
sfc net/sfc: fix LSC interrupt support for UIO cases 2017-04-28 14:46:17 +02:00
szedata2 drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
tap net/tap: update driver param string 2017-04-19 15:37:37 +02:00
thunderx net/thunderx: reduce writes to mbuf 2017-04-19 15:37:37 +02:00
vhost net/vhost: stop dev in close and address mem leak 2017-04-19 10:49:06 +02:00
virtio net/virtio: fix crash when closing twice 2017-04-28 07:01:22 +02:00
vmxnet3 drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
xenvirt net/xenvirt: fix build error 2017-04-19 14:12:50 +02:00
Makefile net/dpaa2: introduce NXP DPAA2 driver 2017-04-19 15:37:37 +02:00