numam-dpdk/drivers/net
Igor Romanov 5d138ef92d net/sfc: fix a Tx queue double release possibility
There are two function that call sfc_tx_qfini():
sfc_tx_fini_queues() and sfc_tx_queue_release(). But only
sfc_tx_queue_release() sets tx_queues pointer of the device data to NULL.
It may lead to the scenario in which a queue is destroyed by
sfc_tx_fini_queues() and after the queue is attempted to be destroyed again
by sfc_tx_queue_release().

Move NULL assignment to sfc_tx_qfini().

Fixes: b1b7ad933b ("net/sfc: set up and release Tx queues")
Cc: stable@dpdk.org

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2018-09-28 01:41:02 +02:00
..
af_packet ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ark net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
avf ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
avp ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
axgbe ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
bnx2x net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnxt ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
bonding net/bonding: do not ignore RSS key on device config 2018-09-14 20:08:41 +02:00
cxgbe ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
dpaa drivers/net: remove double assignment of driver 2018-09-28 18:02:49 +02:00
dpaa2 drivers/net: remove double assignment of driver 2018-09-28 18:02:49 +02:00
e1000 net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
ena remove useless constructor headers 2018-07-12 00:00:35 +02:00
enic ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
failsafe net/failsafe: support runtime Tx queues setup 2018-09-28 01:41:02 +02:00
fm10k net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
i40e net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
ifc net/ifc: support live migration 2018-09-28 01:41:02 +02:00
ixgbe net/ixgbe: check firmware status at init 2018-09-28 01:41:02 +02:00
kni ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
liquidio remove useless constructor headers 2018-07-12 00:00:35 +02:00
mlx4 net/mlx4: support meson build 2018-09-28 01:41:01 +02:00
mlx5 net/mlx5: add bluefield VF support 2018-09-28 01:41:01 +02:00
mvpp2 ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
netvsc net/netvsc: support integrated VF 2018-09-14 20:08:41 +02:00
nfp net/nfp: fix mbuf flags with checksum good 2018-09-28 01:41:01 +02:00
null ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
octeontx net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
pcap net/pcap: generate unique MAC addresses for interfaces 2018-09-28 01:41:02 +02:00
qede net/qede: support device reset 2018-09-28 01:41:01 +02:00
ring ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
sfc net/sfc: fix a Tx queue double release possibility 2018-09-28 01:41:02 +02:00
softnic ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
szedata2 ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
tap net/tap: add in meson build 2018-09-18 22:48:49 +02:00
thunderx net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
vdev_netvsc net/vdev_netvsc: add in meson build 2018-09-18 22:49:39 +02:00
vhost ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
virtio net/virtio-user: fix memory hotplug support in vhost-kernel 2018-09-28 01:41:01 +02:00
vmxnet3 net/vmxnet3: support stats reset 2018-09-28 01:41:02 +02:00
Makefile net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
meson.build net/mlx4: support meson build 2018-09-28 01:41:01 +02:00