summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-12-12 22:09:38 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-12 22:09:38 -0800
commit7dde596ef79982327d8992a579a137b4035ad599 (patch)
treed14cc58d0ea48dbece0f18b3c6823176969ecd74 /drivers/net/sfc/net_driver.h
parent0c53d8c84047d86169bd4147bb8f5adf2772d2bb (diff)
downloadop-kernel-dev-7dde596ef79982327d8992a579a137b4035ad599.zip
op-kernel-dev-7dde596ef79982327d8992a579a137b4035ad599.tar.gz
sfc: Fix synchronisation of efx_mtd_{probe,rename,remove}
Currently efx_mtd_rename() can race with the probe() and remove() functions. Move probe() before device registration and remove() after unregistration. Move initialisation/update of all names based on the netdev name into a new function and call it under the RTNL immediately after registration. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud