lkml.org 
[lkml]   [2004]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SiS900: NULL pointer encountered in Rx ring, skipping
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.042 / U:0.288 seconds]
©2003-2014 Jasper Spaans. Advertise on this site