1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell
Russell King 3b8bc67413 net: mvneta: ensure PM paths take the rtnl lock
The netdev core always ensures that the rtnl lock is held while calling
the ndo_open() and ndo_stop() methods. However, the suspend/resume paths
do not hold the rtnl lock. phylink will expect the rtnl lock to be held
when the MAC driver calls it, so we end up with kernel warnings. Take
the lock to ensure that these functions are called in a consistent
manner.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-03 10:38:53 -05:00
..
Kconfig net: mvpp2: finally add the PPv2.2 compatible string 2017-03-09 10:12:11 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mv643xx_eth.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
mvmdio.c net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case 2017-12-07 13:40:23 -05:00
mvneta.c net: mvneta: ensure PM paths take the rtnl lock 2018-01-03 10:38:53 -05:00
mvneta_bm.c net: mvneta: Fix lacking spinlock initialization 2016-05-25 12:35:08 -07:00
mvneta_bm.h net: mvneta: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:59 -07:00
mvpp2.c net: mvpp2: adjust the coalescing parameters 2017-12-13 11:16:51 -05:00
pxa168_eth.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
skge.c skge: remove redundunt free_irq under spinlock 2017-12-13 15:47:00 -05:00
skge.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sky2.c sky2: Replace mdelay with msleep in sky2_vpd_wait 2018-01-02 12:27:33 -05:00
sky2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00