Re: SiS900: NULL pointer encountered in Rx ring, skipping

From: Daniele Venzano
Date: Wed Jul 28 2004 - 07:30:30 EST


On Tue, Jul 27, 2004 at 12:21:58PM -0400, Jeff Garzik wrote:
> The OOM problem is completely unrelated to the network, therefore no
> reset should ever be considered for this condition.
>
> The driver should properly handle the 'NULL in rx ring' condition as a
> normal occurence. It should skip to the next available skb in the ring.
> If no skbs are remain, it should drop the skb.
>
> See natsemi.c for additional -- and optional -- OOM handling techniques.
>
> Jeff

I will check this for the sis900 driver.

--
-----------------------------
Daniele Venzano
Web: http://teg.homeunix.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/