[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080204212037.GB11417@gateway.home>
Date: Mon, 4 Feb 2008 22:20:37 +0100
From: Erik Mouw <mouw@...linux.org>
To: Jeff Garzik <jgarzik@...ox.com>
Cc: netdev@...r.kernel.org,
"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>,
jamal <hadi@...erus.ca>
Subject: Re: [PATCH] xircom_cb should return NETDEV_TX_BUSY when there are
no descriptors available
On Mon, Feb 04, 2008 at 06:56:54PM +0100, Erik Mouw wrote:
> Changes in other networking paths uncovered a bug in the xircom_cb
> driver which made the kernel spew lots of the following error messages:
>
> BUG eth1 code -5 qlen 0
>
> It turned out that the driver returned -EIO when there was no
> descriptor available for sending packets. It should return
> NETDEV_TX_BUSY instead. This was discussed on the netdev list before,
> see http://thread.gmane.org/gmane.linux.network/84603 .
>
> Signed-off-by: Erik Mouw <mouw@...linux.org>
Forgot to tell: the patch is against 2.6.24 but should apply cleanly to
the latest git kernel. The xircom_cb driver appears to be orphaned so
I've send the patch to you.
Erik
--
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists