5692dbb56e
Prevent theoretical buffer overrun by returning an error if the number of entries returned by the firmware does not match those present. Also use a common handling error path. Found by inspection. Signed-off-by: Simon Horman <simon.horman@netronome.com> Tested-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
nfp6000 | ||
crc32.h | ||
nfp6000_pcie.c | ||
nfp6000_pcie.h | ||
nfp_arm.h | ||
nfp_cpp.h | ||
nfp_cppcore.c | ||
nfp_cpplib.c | ||
nfp_hwinfo.c | ||
nfp_mip.c | ||
nfp_nffw.c | ||
nfp_nffw.h | ||
nfp_nsp_eth.c | ||
nfp_nsp_eth.h | ||
nfp_nsp.c | ||
nfp_resource.c | ||
nfp_rtsym.c | ||
nfp_target.c | ||
nfp.h |