diff options
author | Shradha Shah <sshah@solarflare.com> | 2015-07-08 10:12:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-08 16:18:52 -0700 |
commit | 671b53eec2edcbfac3e53d02cf3d0c6d9ecc07de (patch) | |
tree | e18d141536a5c3ef18ff8a8dacf16ed67fffe466 /net/ipv4/devinet.c | |
parent | f1158b74e54f2e2462ba5e2f45a118246d9d5b43 (diff) | |
download | linux-671b53eec2edcbfac3e53d02cf3d0c6d9ecc07de.tar.gz linux-671b53eec2edcbfac3e53d02cf3d0c6d9ecc07de.tar.bz2 linux-671b53eec2edcbfac3e53d02cf3d0c6d9ecc07de.zip |
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>
Diffstat (limited to 'net/ipv4/devinet.c')
0 files changed, 0 insertions, 0 deletions