On Sun, Nov 3, 2013 at 3:16 AM, Catalin Patulea <c...@vv.carleton.ca> wrote:
> In particular, phy_connect before register_netdev. This is because
> register_netdev runs the netdev notifiers, which can race with the rest of
> the initialization in ag71xx_probe.
Here's someone who demonstrated that this race condition exists by
modifying e1000:
http://stackoverflow.com/questions/17899396/concurrency-in-the-linux-network-drivers-probe-vs-ndo-open-ndo-start-xmit
(question part #1 and the EDIT)

The same thing applies to ag71xx - we must prevent ag71xx_open from
being called before ag71xx_probe completes.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to