Files
linux/drivers/net/phy
Ioana Ciornei 6e6872b8ce net: phy: Check against net_device being NULL
[ Upstream commit 82c76aca81 ]

In general, we don't want MAC drivers calling phy_attach_direct with the
net_device being NULL. Add checks against this in all the functions
calling it: phy_attach() and phy_connect_direct().

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-04 09:33:17 +02:00
..
2019-02-12 19:44:59 +01:00
2016-05-16 13:53:20 -04:00
2016-08-19 17:11:50 -07:00
2018-03-03 10:23:27 +01:00
2016-09-19 21:52:10 -04:00