sfc: Fix race in completion handling
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 26 Oct 2012 16:53:12 +0000 (17:53 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 21 Aug 2013 19:20:39 +0000 (20:20 +0100)
commit369327fa65f20118571643d673b90d3700166e2d
tree1592dabfa6b61087d09b1ca54340f6c2a94fcb26
parentdf2cd8af097850bb3440817fdb6b08922ff4b327
sfc: Fix race in completion handling

When we poll for MCDI request completion, we don't hold the interface
lock while setting the response fields in struct efx_mcdi_iface.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/mcdi.c