aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorBhargava Chenna Marreddy <[email protected]>2024-10-08 00:41:41 -0700
committerJason Gunthorpe <[email protected]>2024-10-11 20:49:02 -0300
commit7988bdbbb85ac85a847baf09879edcd0f70521dc (patch)
tree9abfbb7aa781cd9c978adad5b62e4e121b44c7fe /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent2df411353dacc4b0c911f8c4944f8ffab955391c (diff)
RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages
Avoid memory corruption while setting up Level-2 PBL pages for the non MR resources when num_pages > 256K. There will be a single PDE page address (contiguous pages in the case of > PAGE_SIZE), but, current logic assumes multiple pages, leading to invalid memory access after 256K PBL entries in the PDE. Fixes: 0c4dcd602817 ("RDMA/bnxt_re: Refactor hardware queue memory allocation") Link: https://patch.msgid.link/r/[email protected] Signed-off-by: Bhargava Chenna Marreddy <[email protected]> Signed-off-by: Selvin Xavier <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions