From: Simon Kirby <sim@netnation.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.19-rc1
Date: Tue, 25 Jun 2002 16:06:07 -0700 [thread overview]
Message-ID: <20020625230607.GA13960@netnation.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0206241253120.9274-100000@freak.distro.conectiva>
Hello,
This fix did not yet make it in to the tg3 driver as of -rc1. This patch
fixes an occasional crash problem with several of our boxes and the tg3
driver (fix from Jes).
--
Hi Dave
Here's another one, tg3_recycle_rx() needs to declare dest_idx_unmasked
as unsigned int or it will do funny stuff on modular division once we go
above 31 bit values.
I don't think this is the bug that Scott was hitting, but it is of
course possible. It takes about 120 minutes for me with a packet
generator, spewing out 64 byte packets, to trigger it.
Cheers,
Jes
--- ../orig/drivers/net/tg3.c Tue May 14 07:30:52 2002
+++ drivers/net/tg3.c Fri Jun 14 11:20:48 2002
@@ -1689,7 +1669,7 @@
* tg3_alloc_rx_skb for full details.
*/
static void tg3_recycle_rx(struct tg3 *tp, u32 opaque_key,
- int src_idx, int dest_idx_unmasked)
+ int src_idx, u32 dest_idx_unmasked)
{
struct tg3_rx_buffer_desc *src_desc, *dest_desc;
struct ring_info *src_map, *dest_map;
--
Simon-
[ Stormix Technologies Inc. ][ NetNation Communications Inc. ]
[ sim@stormix.com ][ sim@netnation.com ]
[ Opinions expressed are not necessarily those of my employers. ]
next prev parent reply other threads:[~2002-06-25 23:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-24 15:58 Linux 2.4.19-rc1 Marcelo Tosatti
2002-06-24 19:07 ` [PATCH 2.4.19-rc1] BLK_DEV_RAM not BLOCK_DEV_RAM. was: " Stelian Pop
2002-06-24 19:17 ` Rudmer van Dijk
2002-06-24 19:20 ` [PATCH 2.4.19-rc1] Fix building with 'make -r -R' Tom Rini
2002-06-24 20:28 ` Linux 2.4.19-rc1 Pawel Kot
2002-06-24 21:17 ` Linux 2.4.19-rc1 ChangeLog Summary Matthias Andree
2002-06-25 23:06 ` Simon Kirby [this message]
2002-06-25 23:29 ` DMA from high memory regions Imran Badr
2002-06-26 0:23 ` Linux 2.4.19-rc1 Marcelo Tosatti
2002-06-28 22:41 ` bvermeul
2002-07-02 20:51 ` Marcelo Tosatti
2002-07-02 21:30 ` Marcelo Tosatti
2002-07-03 16:53 ` Bruce Harada
2002-07-12 0:26 ` Linux 2.4.19-rc1: [PATCH] tridentfb Helge Deller
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=20020625230607.GA13960@netnation.com \
--to=sim@netnation.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox