summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-08-18 15:43:57 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-18 22:49:12 +0300
commit9cbbc451098ec1e9942886023203b2247dec94bd (patch)
tree38c2a77a4f2e7c441ec132da06b97cac368196b6 /tools/perf/scripts/python/export-to-postgresql.py
parentdb06ea341fcd1752fbdb58454507faa140e3842f (diff)
downloadlinux-9cbbc451098ec1e9942886023203b2247dec94bd.tar.xz
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