diff options
author | Bert Kenward <bkenward@solarflare.com> | 2018-07-11 13:45:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-13 00:52:04 +0300 |
commit | 193f20033c54db0dc9563f722fbafbcd5fa0e80d (patch) | |
tree | b7280f8fe55c3e33642e7f5147224dc8e25c40c3 /drivers/net/arcnet | |
parent | 1c56c0994a533ce564843a0d17af7a3e6e68f269 (diff) | |
download | linux-193f20033c54db0dc9563f722fbafbcd5fa0e80d.tar.xz |
sfc: hold filter_sem consistently during reset
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>
Diffstat (limited to 'drivers/net/arcnet')
0 files changed, 0 insertions, 0 deletions