diff options
| author | Håkon Bugge <[email protected]> | 2021-11-23 11:06:18 +0100 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-11-25 13:32:12 -0400 |
| commit | 8d0d2b0f41b1b2add8a30dbd816051a964efa497 (patch) | |
| tree | 9643dda050e6b362d68c549cceeb30fa53702b21 /tools/perf/scripts/python/sctop.py | |
| parent | 223b4d5c8702a92fb18d14e3f32953e474313e5b (diff) | |
RDMA/cma: Remove open coding of overflow checking for private_data_len
The existing tests are a little hard to comprehend. Use
check_add_overflow() instead.
Fixes: 04ded1672402 ("RDMA/cma: Verify private data length")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Håkon Bugge <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions