commit | 671b53eec2edcbfac3e53d02cf3d0c6d9ecc07de | [log] [tgz] |
---|---|---|
author | Shradha Shah <sshah@solarflare.com> | Wed Jul 08 10:12:45 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 08 16:18:52 2015 -0700 |
tree | e18d141536a5c3ef18ff8a8dacf16ed67fffe466 | |
parent | f1158b74e54f2e2462ba5e2f45a118246d9d5b43 [diff] |
sfc: Ensure down_write(&filter_sem) and up_write() are matched before calling efx_net_open() This patch avoids the double up_write to filter_sem if efx_net_open() fails. Resolves: 2d432f20d27c1813a2746008e16dd6ce12a14dc1 Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>