linux/drivers/net/ethernet/renesas
Vladimir Zapolskiy 0973a4dd79 ravb: fix invalid context bug while calling auto-negotiation by ethtool
Since commit 35b5f6b1a8 ("PHYLIB: Locking fixes for PHY I/O
potentially sleeping") phy_start_aneg() function utilizes a mutex
to serialize changes to phy state, however the helper function is
called in atomic context.

The bug can be reproduced by running "ethtool -r" command, the bug
is reported if CONFIG_DEBUG_ATOMIC_SLEEP build option is enabled.

Fixes: c156633f13 ("Renesas Ethernet AVB driver proper")
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-07 10:44:09 +09:00
..
Kconfig net: Remove depends on HAS_DMA in case of platform dependency 2018-06-23 10:44:30 +09:00
Makefile
ravb_main.c ravb: fix invalid context bug while calling auto-negotiation by ethtool 2018-07-07 10:44:09 +09:00
ravb_ptp.c ravb: make ravb_ptp_interrupt() *void* 2016-04-14 00:48:33 -04:00
ravb.h ravb: add support for changing MTU 2018-02-16 16:34:50 -05:00
sh_eth.c sh_eth: remove custom .set_link_ksettings from ethtool ops 2018-07-07 10:44:09 +09:00
sh_eth.h sh_eth: uninline sh_eth_soft_swap() 2018-06-04 15:23:25 -04:00