diff options
author | Steven <sluong@cisco.com> | 2018-01-08 09:24:04 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-01-09 20:20:13 +0000 |
commit | 8554f8adcc97b10eee674762307bfb2ede76d722 (patch) | |
tree | 4151f47bfd47bb069a87346576c54b889fbada03 /dpdk/dpdk-17.11_patches/0001-ena-pmd-no-tx-flags.patch | |
parent | 6f1e8b9947ec23b524f340da035c37c07938c268 (diff) |
memif: fix coverity divide by zero
Coverity complains about divide by zero if tx_queues gets the value of 0
from the macro vec_len(). While we don't anticipate such condition to
happen, programming errors may exist. To defend against divide by zero,
crash and burn if tx_queues gets a value of 0.
Change-Id: I65e014c07e9d4adfe119d5b373b5dc24cb818a03
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'dpdk/dpdk-17.11_patches/0001-ena-pmd-no-tx-flags.patch')
0 files changed, 0 insertions, 0 deletions