diff options
author | Michael Chan <[email protected]> | 2024-01-05 15:54:39 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-08 19:15:03 -0800 |
commit | d8214d0f0135010acf7205c646cda31601bbb7ad (patch) | |
tree | cc888883ef7cf850d3dda96d603295764da0ecf2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fd7769798de8a3748c286da65d7e32437f9854bf (diff) |
bnxt_en: Fix RCU locking for ntuple filters in bnxt_rx_flow_steer()
Similar to the previous patch, RCU locking was released too early
in bnxt_rx_flow_steer(). Fix it to unlock after reading fltr->base.sw_id
to guarantee that fltr won't be freed while we are still reading it.
Fixes: cb5bdd292dc0 ("bnxt_en: Add bnxt_lookup_ntp_filter_from_idx() function")
Reported-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/netdev/[email protected]/
Signed-off-by: Michael Chan <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions