diff options
author | Edward Cree <[email protected]> | 2020-08-18 13:43:57 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-18 12:49:12 -0700 |
commit | 9cbbc451098ec1e9942886023203b2247dec94bd (patch) | |
tree | 38c2a77a4f2e7c441ec132da06b97cac368196b6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | db06ea341fcd1752fbdb58454507faa140e3842f (diff) |
sfc: take correct lock in ef100_reset()
When downing and upping the ef100 filter table, we need to take a write
lock on efx->filter_sem, not just a read lock, because we may kfree()
the table pointers.
Without this, resets cause a WARN_ON from efx_rwsem_assert_write_locked().
Fixes: a9dc3d5612ce ("sfc_ef100: RX filter table management and related gubbins")
Signed-off-by: Edward Cree <[email protected]>
Reviewed-by: Jesse Brandeburg <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions