diff options
author | Russell King | 2019-02-11 16:04:24 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-12 18:25:18 +0100 |
commit | 87454b6edc1b0143fdb3d9853285477e95af74a4 (patch) | |
tree | b1825d783af262f1601dc91f7ead403884a058df /drivers/net/ethernet/mellanox/mlx4/en_rx.c | |
parent | geneve: change NET_UDP_TUNNEL dependency to select (diff) | |
download | kernel-qcow2-linux-87454b6edc1b0143fdb3d9853285477e95af74a4.tar.gz kernel-qcow2-linux-87454b6edc1b0143fdb3d9853285477e95af74a4.tar.xz kernel-qcow2-linux-87454b6edc1b0143fdb3d9853285477e95af74a4.zip |
net: phylink: avoid resolving link state too early
During testing on Armada 388 platforms, it was found with a certain
module configuration that it was possible to trigger a kernel oops
during the module load process, caused by the phylink resolver being
triggered for a currently disabled interface.
This problem was introduced by changing the way the SFP registration
works, which now can result in the sfp link down notification being
called during phylink_create().
Fixes: b5bfc21af5cb ("net: sfp: do not probe SFP module before we're attached")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_rx.c')
0 files changed, 0 insertions, 0 deletions