From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 15 Dec 2006 22:48:43 -0800
> [TG3]: Fix race condition when calling register_netdev(). > > Hot-plug scripts can call tg3_open() as soon as register_netdev() is > called in tg3_init_one(). We need to call pci_set_drvdata() before > register_netdev(), and netif_carrier_off() needs to be moved to > tg3_open() to avoid race conditions. > > Signed-off-by: Michael Chan <[EMAIL PROTECTED]> Another excellent catch, patch applied, thanks Michael. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html