diff options
| author | Bert Kenward <bkenward@solarflare.com> | 2018-07-11 11:45:10 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:07:09 +0200 |
| commit | 9a092576e29f2ed16fd4542372e5fbba441475be (patch) | |
| tree | 2aca6fac9a11a44e911611abfdf1b34b6fe81fc2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3f6034f30421fa7ae3007d0eb753b1633d26950d (diff) | |
sfc: hold filter_sem consistently during reset
[ Upstream commit 193f20033c54db0dc9563f722fbafbcd5fa0e80d ]
We should take and release the filter_sem consistently during the
reset process, in the same manner as the mac_lock and reset_lock.
For lockdep consistency we also take the filter_sem for write around
other calls to efx->type->init().
Fixes: c2bebe37c6b6 ("sfc: give ef10 its own rwsem in the filter table instead of filter_lock")
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
