Re: [PATCH net] sfc: remove duplicate up_write on VF filter_sem

2017-06-20 Thread David Miller
From: Edward Cree Date: Tue, 20 Jun 2017 13:08:51 +0100 > 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 d

[PATCH net] sfc: remove duplicate up_write on VF filter_sem

2017-06-20 Thread Edward Cree
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 ef