aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-06-07 18:31:07 +0300
committerDavid S. Miller <[email protected]>2019-06-09 13:37:25 -0700
commit5270041d342de6f1e6a3b6634c1ceaa67d1f87ea (patch)
treee822fa9d52aa7e6251996af9974b0b20f3b106da /tools/perf/scripts/python/bin/stackcollapse-record
parent90b8b7e755db648de7f1d17e3729dd7154a046a0 (diff)
nexthop: off by one in nexthop_mpath_select()
The nhg->nh_entries[] array is allocated in nexthop_grp_alloc() and it has nhg->num_nh elements so this check should be >= instead of >. Fixes: 430a049190de ("nexthop: Add support for nexthop groups") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions