aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf
diff options
context:
space:
mode:
authorArtemy Kovalyov <[email protected]>2018-11-25 20:34:25 +0200
committerJason Gunthorpe <[email protected]>2018-11-26 16:28:36 -0700
commit605728e65ad303a1b639bcae7c0abd2e24e6a930 (patch)
treeda972c50c98feca8dab7cd31d172c05caa1a9e0a /tools/testing/selftests/bpf
parent4d5422a309deecec906c491f8aea77593a46321d (diff)
IB/umem: Set correct address to the invalidation function
The invalidate range was using PAGE_SIZE instead of the computed 'end', and had the wrong transformation of page_index due the weird construction. This can trigger during error unwind and would cause malfunction. Inline the code and correct the math. Fixes: 403cd12e2cf7 ("IB/umem: Add contiguous ODP support") Signed-off-by: Artemy Kovalyov <[email protected]> Signed-off-by: Moni Shoua <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions