aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDoug Ledford <[email protected]>2018-09-21 11:30:13 -0400
committerJason Gunthorpe <[email protected]>2018-09-25 15:19:06 -0600
commitc6ce580716372d71cd119bacf73f14a62e9af2ea (patch)
treecfec93bc6ebd1580a7498589c05db2d516078b19 /tools/perf/scripts/python/bin
parent3312d1c6bdee6aa912c099c0ac0662d197c52842 (diff)
RDMA/umem: Fix potential addition overflow
Given a large enough memory allocation, it is possible to wrap the pinned_vm counter. Check for addition overflow to prevent such eventualities. Fixes: 40ddacf2dda9 ("RDMA/umem: Don't hold mmap_sem for too long") Reported-by: Jason Gunthorpe <[email protected]> Signed-off-by: Doug Ledford <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions