aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorAlex Barba <[email protected]>2022-11-03 19:33:27 -0400
committerJakub Kicinski <[email protected]>2022-11-04 19:29:03 -0700
commit02597d39145bb0aa81d04bf39b6a913ce9a9d465 (patch)
tree78bc4f312bef6a43ed4e6213ee37ed7d28bd94b9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent6d81ea3765dfa6c8a20822613c81edad1c4a16a0 (diff)
bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer
In the bnxt_en driver ndo_rx_flow_steer returns '0' whenever an entry that we are attempting to steer is already found. This is not the correct behavior. The return code should be the value/index that corresponds to the entry. Returning zero all the time causes the RFS records to be incorrect unless entry '0' is the correct one. As flows migrate to different cores this can create entries that are not correct. Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.") Reported-by: Akshay Navgire <[email protected]> Signed-off-by: Alex Barba <[email protected]> Signed-off-by: Andy Gospodarek <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions