On 4/17/2018 11:42 PM, Anatoly Burakov wrote:
Value returned by rte_socket_id_by_idx() may be negative, which would
result in negative array index access.
Coverity issue: 272600
Fixes: b666f17858a3 ("mem: read hugepage counts from node-specific sysfs path")
Cc: [email protected]
Signed-off-by: Anatoly Burakov <[email protected]>
Reviewed-by: Jianfeng Tan <[email protected]>

