Re: patch for 2.5.42. 2/2

Rik van Riel (riel@conectiva.com.br)
Tue, 15 Oct 2002 12:10:46 -0200 (BRST)


On Mon, 14 Oct 2002, Pavel Machek wrote:

> > This looks like a serious design mistake. Surely it would be
> > better to just have the network layer stop operations when the
> > system is going into suspend, instead of having to modify 100
> > individual network drivers ?
>
> Whole userland is stopped at that point. That should mean that new
> requests can not come.
>
> OTOH packet from the network *can* come, and higher levels can not do
> much with that.

Higher layers can throw away the packet. This means you just
need to modify the higher layer at one or two places, instead
of needing to modify every single network driver out there.

I don't need to tell you which of these two options is gonna
be the easiest to maintain, do I ?

regards,

Rik

-- 
A: No.
Q: Should I include quotations after my reply?

http://www.surriel.com/ http://distro.conectiva.com/

- 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/