diff options
author | Christopher N Bednarz <christopher.n.bednarz@intel.com> | 2017-08-08 20:38:48 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-16 11:27:44 -0400 |
commit | aa939c12ab8a0c094420ad1b909a957ac590e43e (patch) | |
tree | 4d25488be5d3e1f41da77144adea0d379c0d8a6a /drivers/infiniband/hw/mlx4/alias_GUID.c | |
parent | a28f047e5f9b987d614eeee34388087ffdda3e53 (diff) | |
download | linux-aa939c12ab8a0c094420ad1b909a957ac590e43e.tar.bz2 |
i40iw: Fix potential fcn_id_array out of bounds
Avoid out of bounds error by utilizing I40IW_MAX_STATS_COUNT
instead of I40IW_INVALID_FCN_ID.
Signed-off-by: Christopher N Bednarz <christoper.n.bednarz@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions