Revision fddd91016d16277a32727ad272cf2edd3d309c90 authored by Simon Guinot on 13 September 2010, 22:12:01 UTC, committed by David S. Miller on 14 September 2010, 21:31:03 UTC
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>
1 parent ef885af
History
File Mode Size
Kconfig -rw-r--r-- 451 bytes
Makefile -rw-r--r-- 156 bytes
configfs_internal.h -rw-r--r-- 5.0 KB
dir.c -rw-r--r-- 43.7 KB
file.c -rw-r--r-- 9.4 KB
inode.c -rw-r--r-- 7.7 KB
item.c -rw-r--r-- 5.4 KB
mount.c -rw-r--r-- 4.8 KB
symlink.c -rw-r--r-- 7.5 KB

back to top