common/sfc_efx/base: add missing MCDI response length checks
authorAndy Moreton <amoreton@xilinx.com>
Tue, 18 May 2021 15:10:12 +0000 (18:10 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 May 2021 09:32:49 +0000 (11:32 +0200)
commite27950a02b035a6d366ed362c6719b6c892dda6b
tree454729e17b30c7d1fa7c32adc8ff2996672e99dd
parente1c9fcab3f17b050793d1e771d33448027a15ae1
common/sfc_efx/base: add missing MCDI response length checks

Fixes: 6f619653b9b1 ("net/sfc/base: import MCDI implementation")
Fixes: e7cd430c864f ("net/sfc/base: import SFN7xxx family support")
Fixes: 94190e3543bf ("net/sfc/base: import SFN8xxx family support")
Fixes: 34285fd0891d ("common/sfc_efx/base: add match spec validate API")
Fixes: e61baa82e64b ("common/sfc_efx/base: add MAE action set provisioning APIs")
Fixes: b4fac34715f2 ("common/sfc_efx/base: add MAE action rule provisioning APIs")
Fixes: ed15d7f8e064 ("common/sfc_efx/base: validate and compare outer match specs")
Fixes: 7a673e1a4a05 ("common/sfc_efx/base: support outer rule provisioning")
Cc: stable@dpdk.org
Signed-off-by: Andy Moreton <amoreton@xilinx.com>
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/common/sfc_efx/base/ef10_filter.c
drivers/common/sfc_efx/base/ef10_nic.c
drivers/common/sfc_efx/base/efx_mae.c
drivers/common/sfc_efx/base/efx_mcdi.c