diff options
author | 2018-07-11 11:45:10 +0100 | |
---|---|---|
committer | 2018-07-12 14:52:04 -0700 | |
commit | 193f20033c54db0dc9563f722fbafbcd5fa0e80d (patch) | |
tree | b7280f8fe55c3e33642e7f5147224dc8e25c40c3 /net/nsh/nsh.c | |
parent | sfc: avoid hang from nested use of the filter_sem (diff) | |
download | linux-dev-193f20033c54db0dc9563f722fbafbcd5fa0e80d.tar.xz linux-dev-193f20033c54db0dc9563f722fbafbcd5fa0e80d.zip |
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 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions