netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: "David S. Miller" <davem@redhat.com>, netdev@oss.sgi.com
Subject: Re: [PATCH 2.6] cache align qdisc data
Date: Tue, 03 Aug 2004 22:42:44 +0200	[thread overview]
Message-ID: <410FF8C4.7010705@trash.net> (raw)
In-Reply-To: <20040803133139.43107fd3@dell_ss3.pdx.osdl.net>

Stephen Hemminger wrote:

>That was some old messing around, that got in there...
>Here is the correct patch.
>  
>
The hunks are still there.

> 
>@@ -1554,7 +1554,6 @@ hfsc_init_qdisc(struct Qdisc *sch, struc
> 	qopt = RTA_DATA(opt);
> 
> 	memset(q, 0, sizeof(struct hfsc_sched));
>-	sch->stats_lock = &sch->dev->queue_lock;
> 
> 	q->defcls = qopt->defcls;
> 	for (i = 0; i < HFSC_HSIZE; i++)
>@@ -1674,7 +1673,7 @@ hfsc_dump_qdisc(struct Qdisc *sch, struc
> 	RTA_PUT(skb, TCA_OPTIONS, sizeof(qopt), &qopt);
> 
> 	sch->stats.qlen = sch->q.qlen;
>-	if (qdisc_copy_stats(skb, &sch->stats, sch->stats_lock) < 0)
>+	if (qdisc_copy_stats(skb, &sch->stats, &sch->dev->queue_lock) < 0)
> 		goto rtattr_failure;
> 
> 	return skb->len;
>

  reply	other threads:[~2004-08-03 20:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-03 15:24 [PATCH 2.6 3/5]: Use double-linked list for dev->qdisc_list Patrick McHardy
2004-08-03 15:35 ` Stephen Hemminger
2004-08-03 19:22   ` Patrick McHardy
2004-08-03 15:38 ` [PATCH 2.6] cache align qdisc data Stephen Hemminger
2004-08-03 19:17   ` Patrick McHardy
2004-08-03 20:31     ` Stephen Hemminger
2004-08-03 20:42       ` Patrick McHardy [this message]
2004-08-03 21:05         ` Stephen Hemminger
2004-08-04 16:51           ` David S. Miller
2004-08-04 16:43 ` [PATCH 2.6 3/5]: Use double-linked list for dev->qdisc_list David S. Miller
2004-08-04 19:55   ` Patrick McHardy
2004-08-04 20:43     ` David S. Miller

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=410FF8C4.7010705@trash.net \
    --to=kaber@trash.net \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).