commit | 193f20033c54db0dc9563f722fbafbcd5fa0e80d | [log] [tgz] |
---|---|---|
author | Bert Kenward <bkenward@solarflare.com> | Wed Jul 11 11:45:10 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 12 14:52:04 2018 -0700 |
tree | b7280f8fe55c3e33642e7f5147224dc8e25c40c3 | |
parent | 1c56c0994a533ce564843a0d17af7a3e6e68f269 [diff] |
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>