aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2018-07-01 15:31:54 +0300
committerJason Gunthorpe <[email protected]>2018-07-03 14:08:00 -0600
commitfe48aecb4df837540f13b5216f27ddb306aaf4b9 (patch)
treefcc1c2912adf760e31e38e60f024fc4be97035db /tools/perf/scripts/python/export-to-postgresql.py
parentb697d7d8c741f27b728a878fc55852b06d0f6f5e (diff)
RDMA/uverbs: Don't fail in creation of multiple flows
The conversion from offsetof() calculations to sizeof() wrongly behaved for missed exact size and in scenario with more than one flow. In such scenario we got "create flow failed, flow 10: 8 bytes left from uverb cmd" error, which is wrong because the size of kern_spec is exactly 8 bytes, and we were not supposed to fail. Cc: <[email protected]> # 3.12 Fixes: 4fae7f170416 ("RDMA/uverbs: Fix slab-out-of-bounds in ib_uverbs_ex_create_flow") Reported-by: Ran Rozenstein <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions