mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: Mathias.Beilstein@t-online.de
Cc: linux-kernel@vger.kernel.org, realtek@scyld.com, netdev@oss.sgi.com
Subject: Re: Bug? 2.4.24 module/networking Kernel driver/net/r8169.c freeze
Date: Sat, 17 Jan 2004 14:23:07 +0100	[thread overview]
Message-ID: <20040117142307.A14176@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <1074217033.400740491d6ff@webmail.t-online.de>; from Mathias.Beilstein@t-online.de on Fri, Jan 16, 2004 at 03:13:29AM +0100

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

Mathias.Beilstein@t-online.de <Mathias.Beilstein@t-online.de> :
[...]
> 1. short: smb over tcp delays > 5 sec; flood ping to machine --> machine 
> freeze

Please apply attached patch and see 1) if Tx traffic stops 2) if something
appears in dmesg.

netdev@oss.sgi.com added to Cc:.

--
Ueimor

[-- Attachment #2: r8169-debug.patch --]
[-- Type: text/plain, Size: 514 bytes --]

--- r8169.c-realtek	2004-01-17 14:14:50.000000000 +0100
+++ r8169.c-debug	2004-01-17 14:17:25.000000000 +0100
@@ -1290,6 +1290,11 @@ static void rtl8169_tx_interrupt (struct
 	dirty_tx = priv->dirty_tx;
 	tx_left = priv->cur_tx - dirty_tx;
 
+	if (entry + tx_left > NUM_TX_DESC) {
+		printk(KERN_ERR, "r8169 bug. Please mail netdev@oss.sgi.com\n");
+		return;
+	}
+
 	while (tx_left > 0) {
 		if( (priv->TxDescArray[entry].status & OWNbit) == 0 ){
 			dev_kfree_skb_irq( priv->Tx_skbuff[dirty_tx % NUM_TX_DESC] );

      reply	other threads:[~2004-01-17 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-16  2:13 Mathias.Beilstein
2004-01-17 13:23 ` Francois Romieu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040117142307.A14176@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=Mathias.Beilstein@t-online.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=realtek@scyld.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®