]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Ensure down_write(&filter_sem) and up_write() are matched before calling efx_net...
authorShradha Shah <sshah@solarflare.com>
Wed, 8 Jul 2015 09:12:45 +0000 (10:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2015 23:18:52 +0000 (16:18 -0700)
commitf6f44277875ebd44746797b048998c82558ca3a3
treee18d141536a5c3ef18ff8a8dacf16ed67fffe466
parenta95f60276acbb26c5db7bb8a07826129636a68cb
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: 623ee7de20d64164abe68c137121f4950408e362

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10_sriov.c