diff options
author | 2020-08-18 13:43:57 +0100 | |
---|---|---|
committer | 2020-08-18 12:49:12 -0700 | |
commit | 9cbbc451098ec1e9942886023203b2247dec94bd (patch) | |
tree | 38c2a77a4f2e7c441ec132da06b97cac368196b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sfc: really check hash is valid before using it (diff) | |
download | wireguard-linux-9cbbc451098ec1e9942886023203b2247dec94bd.tar.xz wireguard-linux-9cbbc451098ec1e9942886023203b2247dec94bd.zip |
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 <ecree@solarflare.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions