From: Ben Hutchings Date: Sat, 13 Dec 2008 06:09:38 +0000 (-0800) Subject: sfc: Fix synchronisation of efx_mtd_{probe,rename,remove} X-Git-Tag: v2.6.29-rc1~581^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dde596ef79982327d8992a579a137b4035ad599;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed