diff options
author | Vladimir Zapolskiy | 2018-07-04 10:14:50 +0200 |
---|---|---|
committer | David S. Miller | 2018-07-07 03:44:09 +0200 |
commit | 0973a4dd79fe56a3beecfcff675ba4c01df0b0c1 (patch) | |
tree | 88b835bad4d0e8ac5445d57ed467173a1917bc64 /Kconfig | |
parent | sh_eth: remove custom .set_link_ksettings from ethtool ops (diff) | |
download | kernel-qcow2-linux-0973a4dd79fe56a3beecfcff675ba4c01df0b0c1.tar.gz kernel-qcow2-linux-0973a4dd79fe56a3beecfcff675ba4c01df0b0c1.tar.xz kernel-qcow2-linux-0973a4dd79fe56a3beecfcff675ba4c01df0b0c1.zip |
ravb: fix invalid context bug while calling auto-negotiation by ethtool
Since commit 35b5f6b1a82b ("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: c156633f1353 ("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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions