diff options
| author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-12 22:09:38 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-12-12 22:09:38 -0800 |
| commit | 7dde596ef79982327d8992a579a137b4035ad599 (patch) | |
| tree | d14cc58d0ea48dbece0f18b3c6823176969ecd74 /include/linux | |
| parent | 0c53d8c84047d86169bd4147bb8f5adf2772d2bb (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
