Re: Memory corruption in 8390.c ? (was Re: Possible leaks in network drivers)

From: Herbert Xu
Date: Thu Jun 22 2006 - 05:11:21 EST


On Thu, Jun 22, 2006 at 07:02:27PM +1000, herbert wrote:
>
> > >cassini.c
> > >starfire.c
> > >yellowfin.c
> >
> > That doesn't really invalidate the point :) These drivers are still
> > only padding very small packets.
>
> Hmm, at least cassini pads it to 255 for gigabit...

The one in starfire looks especially dodgy. It supports SG and also
requires the whole length to be a multiple of 4 if the firmware is
broken. The question is do they really intend this or do they want
each fragment to terminate on a 4-byte boundary.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/