numam-dpdk/drivers/net/memif
Harman Kalra aedd054c5c drivers: check interrupt file descriptor validity
This patch fixes coverity issue by adding a check for negative value to
avoid bad bit shift operation and other invalid use of file descriptors.

Coverity issue: 373717, 373697, 373685
Coverity issue: 373723, 373720, 373719, 373718, 373715, 373714, 373713
Coverity issue: 373710, 373707, 373706, 373705, 373704, 373701, 373700
Coverity issue: 373698, 373695, 373692, 373690, 373689
Coverity issue: 373722, 373721, 373709, 373702, 373696
Fixes: d61138d4f0 ("drivers: remove direct access to interrupt handle")

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
2021-11-08 17:32:42 +01:00
..
memif_socket.c drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
memif_socket.h drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
memif.h net/memif: replace master/slave arguments 2020-10-20 13:17:08 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_eth_memif.c drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
rte_eth_memif.h drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00