[PATCH V2] ibm_newemac: Fixes kernel crashes when speed of cable connected changes

Jeff Garzik jeff at garzik.org
Fri Jun 27 15:14:30 EST 2008


Stefan Roese wrote:
> From: Sathya Narayanan <sathyan at teamf1.com>
> 
> The descriptor pointers were not initialized to NIL values, so it was
> poiniting to some random addresses which was completely invalid. This
> fix takes care of initializing the descriptor to NIL values and clearing
> the valid descriptors on clean ring operation.
> 
> Signed-off-by: Sathya Narayanan <sathyan at teamf1.com>
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
> Changed since V1:
> - Fixed off-by-one error in for loops
> 
>  drivers/net/ibm_newemac/core.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

I didn't see any answers to ben h's questions?

Holding this patch, waiting for ben's ack...





More information about the Linuxppc-dev mailing list