73f9509e0e
When calling i40e_flowtype_to_pctype in i40e_get_hash_filter_global_config and i40e_set_hash_filter_global_config, function i40e_flowtype_to_pctype will be possibly make an out-of-bounds access, because size of the array is 15. So check the flow type is valid before calling i40e_flowtype_to_pctype. In the process fix other occurances of the same problem Coverity issue: 37793, 37794 Fixes: |
||
---|---|---|
.. | ||
base | ||
i40e_ethdev_vf.c | ||
i40e_ethdev.c | ||
i40e_ethdev.h | ||
i40e_fdir.c | ||
i40e_logs.h | ||
i40e_pf.c | ||
i40e_pf.h | ||
i40e_regs.h | ||
i40e_rxtx_vec.c | ||
i40e_rxtx.c | ||
i40e_rxtx.h | ||
Makefile | ||
rte_pmd_i40e_version.map |