numam-dpdk/drivers
Michal Jastrzebski 4d0833e6f8 net/vmxnet3: fix dereference before null check
Coverity reports check_after_deref:
Null-checking rq suggests that it may be null, but it
has already been dereferenced on all paths leading to
the check.
This patch removes NULL checking of "rq" from function
vmxnet3_dev_rx_queue_reset as it is already checked against NULL
one level up the callstack (function vmxnet3_dev_clear_queues).

Coverity issue: 143468
Fixes: 5aecdc17a9 ("vmxnet3: fix stop/restart")
Cc: stable@dpdk.org

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Signed-off-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-10-06 02:49:49 +02:00
..
bus bus/fslmc: update MC to 10.3.x 2017-10-06 01:26:00 +02:00
crypto bus/fslmc: update MC to 10.3.x 2017-10-06 01:26:00 +02:00
event drivers: refactor DPAA2 object definition 2017-10-06 01:08:46 +02:00
mempool mempool/dpaa2: fix freeing bp list 2017-07-21 09:28:22 +03:00
net net/vmxnet3: fix dereference before null check 2017-10-06 02:49:49 +02:00
Makefile drivers: add bus dependency for eventdev 2017-07-07 09:24:29 +02:00