summaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorSimon Guinot <sguinot@lacie.com>2010-09-14 00:12:01 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-14 23:31:03 +0200
commitfddd91016d16277a32727ad272cf2edd3d309c90 (patch)
treede26d726a987469aabe804d4b32733c559b9291c /net/Kconfig
parentnet: use rcu_barrier() in rollback_registered_many (diff)
downloadlinux-fddd91016d16277a32727ad272cf2edd3d309c90.tar.xz
linux-fddd91016d16277a32727ad272cf2edd3d309c90.zip
phylib: fix PAL state machine restart on resume
On resume, before starting the PAL state machine, check if the adjust_link() method is well supplied. If not, this would lead to a NULL pointer dereference in the phy_state_machine() function. This scenario can happen if the Ethernet driver call manually the PHY functions instead of using the PAL state machine. The mv643xx_eth driver is a such example. Signed-off-by: Simon Guinot <sguinot@lacie.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions