commit | 57f0c9cf58ff7fe479137ab847a886d0eed3ad1d | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Tue Jun 20 13:08:51 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 20 15:40:00 2017 -0400 |
tree | b51ba26f7cb76538a0261cb5577c66287b4880b3 | |
parent | db833d40ad3263b2ee3b59a1ba168bb3cfed8137 [diff] |
sfc: remove duplicate up_write on VF filter_sem Somehow two copies of the line 'up_write(&vf->efx->filter_sem);' got into efx_ef10_sriov_set_vf_vlan(). This would put the mutex in a bad state and cause all subsequent down attempts to hang. Fixes: 671b53eec2ed ("sfc: Ensure down_write(&filter_sem) and up_write() are matched before calling efx_net_open()") Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>