numam-dpdk/drivers/net
Raslan Darawsheh 35ffe42081 net/failsafe: fix missing pclose after popen
When there is no preferred device, failsafe will always
try to scan for preferred device. And if there is no device
found with the exec option, popen() will get an empty output.
In this case, it was forgotten to close the file descriptor.
It is fixed by closing the file descriptor even if the output is empty.

Coverity issue: 158633
Fixes: a0194d8281 ("net/failsafe: add flexible device definition")

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2017-08-03 22:29:53 +02:00
..
af_packet drivers/net: use device name from device structure 2017-07-06 00:17:02 +02:00
ark net/ark: fix stats reset 2017-07-06 15:00:57 +02:00
avp
bnx2x
bnxt net/bnxt: fix arguments to callback process 2017-07-31 19:58:41 +02:00
bonding net/bonding: fix link status interrupt when down 2017-07-31 19:58:41 +02:00
cxgbe drivers/net: remove duplicate includes 2017-07-16 17:30:24 +02:00
dpaa2 net/dpaa2: enable Tx congestion state check 2017-07-30 20:24:55 +02:00
e1000 net/igb: fix access bound in ethertype filter 2017-07-31 19:58:41 +02:00
ena net/ena/base: initialize memory in the allocation macros 2017-07-06 15:00:57 +02:00
enic net/enic: replace check for SSE4 with check for x86 2017-07-04 14:39:18 +02:00
failsafe net/failsafe: fix missing pclose after popen 2017-08-03 22:29:53 +02:00
fm10k net/fm10k: initialize link status in device start 2017-07-06 15:00:56 +02:00
i40e net/i40e: fix PF notify when VF is not up 2017-07-31 19:58:41 +02:00
ixgbe net/ixgbe: support 2.5G and 5G on X550 2017-07-31 20:13:13 +02:00
kni drivers/net: use device name from device structure 2017-07-06 00:17:02 +02:00
liquidio
mlx4 net/mlx4: fix probe failure report 2017-07-31 19:58:41 +02:00
mlx5 net/mlx5: fix L4 packet type support 2017-07-31 19:58:41 +02:00
nfp eal: introduce integer log2 function 2017-07-03 10:44:12 +02:00
null bus/vdev: remove probe with driver name option 2017-07-10 00:46:38 +02:00
pcap
qede net/qede: update PMD version 2.5.2.1 2017-07-31 19:58:41 +02:00
ring net/ring: add missing newlines in logs 2017-07-19 11:09:13 +03:00
sfc net/sfc: support xstats retrieval by ID 2017-07-19 11:09:13 +03:00
szedata2 net/szedata2: use macro from common library 2017-07-06 15:00:56 +02:00
tap net/tap: remove Linux version check 2017-07-19 11:09:13 +03:00
thunderx net/thunderx: update sq config register field 2017-07-19 11:09:13 +03:00
vhost
virtio net/virtio: fix Rx interrupt setup 2017-07-31 19:16:23 +02:00
vmxnet3 net/vmxnet3: fix filtering on promiscuous disabling 2017-08-03 22:23:49 +02:00
xenvirt
Makefile net/failsafe: add fail-safe PMD 2017-07-19 16:25:42 +03:00