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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 4.8 KB |
Makefile | -rw-r--r-- | 392 bytes |
TODO | -rw-r--r-- | 772 bytes |
af_ax25.c | -rw-r--r-- | 44.1 KB |
ax25_addr.c | -rw-r--r-- | 6.1 KB |
ax25_dev.c | -rw-r--r-- | 4.8 KB |
ax25_ds_in.c | -rw-r--r-- | 7.1 KB |
ax25_ds_subr.c | -rw-r--r-- | 5.1 KB |
ax25_ds_timer.c | -rw-r--r-- | 5.8 KB |
ax25_iface.c | -rw-r--r-- | 5.0 KB |
ax25_in.c | -rw-r--r-- | 10.6 KB |
ax25_ip.c | -rw-r--r-- | 5.3 KB |
ax25_out.c | -rw-r--r-- | 8.9 KB |
ax25_route.c | -rw-r--r-- | 11.2 KB |
ax25_std_in.c | -rw-r--r-- | 11.1 KB |
ax25_std_subr.c | -rw-r--r-- | 2.3 KB |
ax25_std_timer.c | -rw-r--r-- | 4.2 KB |
ax25_subr.c | -rw-r--r-- | 7.0 KB |
ax25_timer.c | -rw-r--r-- | 5.1 KB |
ax25_uid.c | -rw-r--r-- | 4.7 KB |
sysctl_net_ax25.c | -rw-r--r-- | 5.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...