Commit:     06f7525be463ef95bfdba001484bda04d00ec74e
Parent:     6c04a515085e6b94266db3e0e05c2700eeffa469
Author:     Erik Mouw <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 4 18:56:54 2008 +0100
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Feb 5 13:31:29 2008 -0500

    xircom_cb should return NETDEV_TX_BUSY when no descriptors available
    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 .
    Signed-off-by: Erik Mouw <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/net/tulip/xircom_cb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c
index 8fc7274..6b93d01 100644
--- a/drivers/net/tulip/xircom_cb.c
+++ b/drivers/net/tulip/xircom_cb.c
@@ -441,7 +441,7 @@ static int xircom_start_xmit(struct sk_buff *skb, struct 
net_device *dev)
-       return -EIO;
+       return NETDEV_TX_BUSY;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to