From: Peter Williams <pwil3058@bigpond.net.au>
To: Neil Horman <nhorman@tuxdriver.com>, jgarzik@pobox.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.6.21 hangs during post boot initialization phase
Date: Sat, 28 Apr 2007 09:50:00 +1000 [thread overview]
Message-ID: <46328C28.5040908@bigpond.net.au> (raw)
In-Reply-To: <20070427171150.GF19017@hmsreliant.homelinux.net>
Neil Horman wrote:
> On Sat, Apr 28, 2007 at 12:28:28AM +1000, Peter Williams wrote:
>> Neil Horman wrote:
>>> On Fri, Apr 27, 2007 at 04:05:11PM +1000, Peter Williams wrote:
>
> Damn, This is what happens when I try to do things too quickly. I missed one
> spot in my last patch where I replaced skb with rx_skb. Its not critical, but
> it should improve sis900 performance by quite a bit. This applies on top of the
> last two patches. Sorry about that.
>
> Thanks & Regards
> Neil
>
> Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
>
>
> sis900.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
> diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c
> index 7e44939..db59dce 100644
> --- a/drivers/net/sis900.c
> +++ b/drivers/net/sis900.c
> @@ -1790,7 +1790,7 @@ static int sis900_rx(struct net_device *net_dev)
> /* give the socket buffer to upper layers */
> rx_skb = sis_priv->rx_skbuff[entry];
> skb_put(rx_skb, rx_size);
> - skb->protocol = eth_type_trans(rx_skb, net_dev);
> + rx_skb->protocol = eth_type_trans(rx_skb, net_dev);
> netif_rx(rx_skb);
>
> /* some network statistics */
My system also boots OK after I add this patch. Can't tell whether it's
improved the performance or not.
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
next prev parent reply other threads:[~2007-04-27 23:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-27 2:58 Linux-2.6.21 hangs during post boot initialization phase Peter Williams
2007-04-27 3:36 ` Linus Torvalds
2007-04-27 4:12 ` Peter Williams
2007-04-27 6:05 ` Peter Williams
2007-04-27 12:22 ` Neil Horman
2007-04-27 12:26 ` Jeff Garzik
2007-04-27 12:52 ` Neil Horman
2007-04-27 14:28 ` Peter Williams
2007-04-27 17:11 ` Neil Horman
2007-04-27 17:46 ` Linus Torvalds
2007-04-27 18:01 ` Jeff Garzik
2007-04-27 23:50 ` Peter Williams [this message]
2007-04-28 22:19 ` Neil Horman
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=46328C28.5040908@bigpond.net.au \
--to=pwil3058@bigpond.net.au \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=torvalds@linux-foundation.org \
/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.