numam-dpdk/drivers/net/igc
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
..
base drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00
igc_ethdev.c drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
igc_ethdev.h ethdev: add namespace 2021-10-22 18:15:38 +02:00
igc_filter.c ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
igc_filter.h ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
igc_flow.c net/igc: remove use of uint type 2021-03-23 08:41:05 +01:00
igc_flow.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_logs.c log: register with standardized names 2021-05-11 15:17:55 +02:00
igc_logs.h net/igc: refine debug build option 2021-04-01 16:10:20 +02:00
igc_txrx.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
igc_txrx.h ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00