From: "J.A. Magallon" <jamagallon@able.es>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] e1000 close
Date: Sun, 6 Apr 2003 01:12:20 +0200 [thread overview]
Message-ID: <20030405231220.GI12864@werewolf.able.es> (raw)
In-Reply-To: <20030405224233.GA12746@werewolf.able.es>; from jamagallon@able.es on Sun, Apr 06, 2003 at 00:42:33 +0200
On 04.06, J.A. Magallon wrote:
>
> On 04.04, Marcelo Tosatti wrote:
> >
> > So here goes -pre7. Hopefully the last -pre.
> >
>
Supposed to cure a dev_close called without dev_open.
Is this still needed ?
--- 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
@@ -997,6 +997,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++) {
@@ -1062,6 +1065,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++) {
--
J.A. Magallon <jamagallon@able.es> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.2 (Bamboo) for i586
Linux 2.4.21-pre7-jam1 (gcc 3.2.2 (Mandrake Linux 9.2 3.2.2-5mdk))
next prev parent reply other threads:[~2003-04-05 23:01 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-04 21:15 Linux 2.4.21-pre7 Marcelo Tosatti
2003-04-04 21:34 ` J.A. Magallon
2003-04-04 21:01 ` Alan Cox
2003-04-04 22:44 ` kernel
2003-04-05 0:31 ` J.A. Magallon
2003-04-05 16:55 ` Alan Cox
2003-04-05 0:43 ` J.A. Magallon
2003-04-05 0:50 ` [PATCH] AT_PLATFORM on HT-P4 J.A. Magallon
2003-04-05 1:18 ` Benjamin LaHaise
2003-04-05 1:22 ` J.A. Magallon
2003-04-05 1:24 ` Benjamin LaHaise
2003-04-05 0:50 ` [PATCH] redundant printk decl J.A. Magallon
2003-04-05 0:52 ` [PATCH] thread signaling J.A. Magallon
2003-04-05 16:53 ` Alan Cox
2003-04-05 0:53 ` [PATCH] detached clone J.A. Magallon
2003-04-05 0:55 ` [PATCH] e1000 close J.A. Magallon
2003-04-05 2:06 ` Linux 2.4.21-pre7 Marcelo Tosatti
2003-04-05 0:51 ` Nathan Poznick
2003-04-05 3:52 ` Linux 2.4.21-pre7 - hpt366.c does not build Eyal Lebedinsky
2003-04-21 16:33 ` Marcelo Tosatti
2003-04-05 16:03 ` Linux 2.4.21-pre7 Udo A. Steinberg
2003-04-05 21:49 ` Jerome Chantelauze
2003-04-05 22:42 ` J.A. Magallon
2003-04-05 23:02 ` [PATCH] AT_PLATFORM on HT-P4 J.A. Magallon
2003-04-05 23:03 ` Linux 2.4.21-pre7 J.A. Magallon
2003-04-05 23:06 ` [PATCH] config/dep bugs J.A. Magallon
2003-04-06 22:18 ` Karl Weigel
2003-04-05 23:08 ` [PATCH] thread signaling J.A. Magallon
2003-04-05 23:09 ` [PATCH] detached cloning J.A. Magallon
2003-04-07 23:13 ` Daniel Jacobowitz
2003-04-09 23:29 ` J.A. Magallon
2003-04-10 15:12 ` Daniel Jacobowitz
2003-04-05 23:12 ` J.A. Magallon [this message]
2003-04-06 14:53 ` [PATCH] e1000 close Alan Cox
2003-04-08 16:28 ` Linux 2.4.21-pre7 Kaj-Michael Lang
2003-04-09 9:55 ` mikpe
2003-04-09 10:09 ` Benjamin Herrenschmidt
2003-04-09 10:20 ` mikpe
2003-04-09 11:01 ` Benjamin Herrenschmidt
2003-04-09 14:27 ` Ruth Ivimey-Cook
[not found] <C6F5CF431189FA4CBAEC9E7DD5441E010128A52B@orsmsx402.jf.intel.com>
2003-04-06 6:56 ` [PATCH] e1000 close Scott Feldman
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=20030405231220.GI12864@werewolf.able.es \
--to=jamagallon@able.es \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.