mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc-Christian Petersen <m.c.p@wolk-project.de>
To: pk@q-leap.com, linux-kernel@vger.kernel.org
Subject: Re: oops with e1000, ifenslave (bonding)
Date: Tue, 15 Apr 2003 12:20:36 +0200	[thread overview]
Message-ID: <200304151220.36148.m.c.p@wolk-project.de> (raw)
In-Reply-To: <16027.55946.797266.771034@q-leap.com>

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

On Tuesday 15 April 2003 12:10, Peter wrote:

Hi Peter,

> Hello,
> the following oops occurs repeatadly:
Does the attached patch fixes the problem?

Patch by: Scott Feldman <scott.feldman <located at> intel.com>

ciao, Marc

[-- Attachment #2: e1000-bonding-fix.patch --]
[-- Type: text/x-diff, Size: 555 bytes --]

--- linux-2.4.20/drivers/net/e1000/e1000_main.c.orig	2003-03-11 13:45:26.000000000 -0800
+++ linux-2.4.20/drivers/net/e1000/e1000_main.c	2003-03-11 14:12:12.000000000 -0800
@@ -963,6 +963,9 @@
 	unsigned long size;
 	int i;
 
+	if(!adapter->tx_ring.buffer_info)
+		return;
+
 	/* Free all the Tx ring sk_buffs */
 
 	for(i = 0; i < adapter->tx_ring.count; i++) {
@@ -1028,6 +1031,9 @@
 	unsigned long size;
 	int i;
 
+	if(!adapter->rx_ring.buffer_info)
+		return;
+
 	/* Free all the Rx ring sk_buffs */
 
 	for(i = 0; i < adapter->rx_ring.count; i++) {

  reply	other threads:[~2003-04-15 10:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-15 10:10 Peter
2003-04-15 10:20 ` Marc-Christian Petersen [this message]
2003-04-15 10:47   ` Peter

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=200304151220.36148.m.c.p@wolk-project.de \
    --to=m.c.p@wolk-project.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pk@q-leap.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®