netdev
[Top] [All Lists]

Re: [PATCH 2/3] r8169: Large Send enablement

To: Francois Romieu <romieu@xxxxxxxxxxxxx>
Subject: Re: [PATCH 2/3] r8169: Large Send enablement
From: Jon Mason <jdmason@xxxxxxxxxx>
Date: Fri, 5 Nov 2004 05:50:33 +0000
Cc: netdev@xxxxxxxxxxx, jgarzik@xxxxxxxxx
In-reply-to: <20041104184529.GA2694@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Organization: IBM
References: <200411021203.22003.jdmason@xxxxxxxxxx> <200411031816.11675.jdmason@xxxxxxxxxx> <20041104184529.GA2694@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.7
On Thursday 04 November 2004 06:45 pm, Francois Romieu wrote:
> Jon Mason <jdmason@xxxxxxxxxx> :
> > On Tuesday 02 November 2004 01:11 pm, Francois Romieu wrote:
> > [...]
> >
> > > - If rtl8169_open() fails [*] when the device was previously up, the
> > > driver could/should try to recover.
> >
> > I disagree.  It should fail, complain loudly, and let the user try and
> > fix it (or return it to the previous state).  The code provided below
> > will act like
>
> Mmmm... Actually both patches try to paper over the real issue: the driver
> should reserve the resources it needs for the change of mtu first.

Agreed.  I did a quick look in the other drivers, and didn't find any drivers 
that handle this possibility.  Most of them ignore the fact.  This sounds 
like an open hole in all of the drivers.

<Prev in Thread] Current Thread [Next in Thread>