diff options
author | Mark Bloch <[email protected]> | 2016-10-27 16:36:31 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-11-16 20:03:44 -0500 |
commit | 3c7ba5760ab8eedec01159b267bb9bfcffe522ac (patch) | |
tree | 36e6c1ab64e36f899718b69ce3b6b989c2c13bf1 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 61c3702863be9e9f1ef12ed5a5b17bae6cdfac0b (diff) |
IB/core: Avoid unsigned int overflow in sg_alloc_table
sg_alloc_table gets unsigned int as parameter while the driver
returns it as size_t. Check npages isn't greater than maximum
unsigned int.
Fixes: eeb8461e36c9 ("IB: Refactor umem to use linear SG table")
Signed-off-by: Mark Bloch <[email protected]>
Signed-off-by: Maor Gottlieb <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions