netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: Denys Fedoryshchenko <denys@visp.net.lb>
Cc: netdev@vger.kernel.org
Subject: Re: panic 2.6.27-rc3-git2, qdisc_dequeue_head
Date: Sun, 17 Aug 2008 15:16:35 +0200	[thread overview]
Message-ID: <20080817131635.GA3535@ami.dom.local> (raw)
In-Reply-To: <200808171550.01154.denys@visp.net.lb>

On Sun, Aug 17, 2008 at 03:50:01PM +0300, Denys Fedoryshchenko wrote:
> On Sunday 17 August 2008, Jarek Poplawski wrote:
> 
> > Denys, I would like to be sure: do you mean here the last patch
> > attached below? So, the alternative shaper works with previous
> > patches, but not this one? If so, than no need to test this patch
> > anymore, only confirm this, please.
> No.
> Alternative shaper didn't work without applying latest patch (just i had old 
> kernel, and i decide just to try alternative shaper).
> 
> Latest warning with all patches applied. I will test alternative shaper with 
> all patches applied now.
> 

I think it would be better to test first only with patches:
take #3, patch #1, patch #2 (and of these 2 from earlier thread).

This last patch, let's call it patch #4, can wait.

If there are oopses please try to add to them this one:

Jarek P.

--- (patch #5)

 net/sched/sch_api.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index c25465e..5fdd1e2 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -694,6 +694,9 @@ static int qdisc_graft(struct net_device *dev, struct Qdisc *parent,
 
 		err = -EINVAL;
 
+		if (dev->flags & IFF_UP)
+			dev_deactivate(dev);
+
 		if (cops) {
 			unsigned long cl = cops->get(parent, classid);
 			if (cl) {
@@ -703,6 +706,9 @@ static int qdisc_graft(struct net_device *dev, struct Qdisc *parent,
 		}
 		if (!err)
 			notify_and_destroy(skb, n, classid, old, new);
+
+		if (dev->flags & IFF_UP)
+			dev_activate(dev);
 	}
 	return err;
 }

      parent reply	other threads:[~2008-08-17 13:15 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 19:09 panic 2.6.27-rc3-git2, qdisc_dequeue_head Denys Fedoryshchenko
2008-08-15 20:16 ` Jarek Poplawski
2008-08-15 20:36   ` Denys Fedoryshchenko
2008-08-15 20:54     ` Denys Fedoryshchenko
2008-08-16  8:55       ` Jarek Poplawski
2008-08-16  9:13         ` Jarek Poplawski
2008-08-16 10:03           ` Denys Fedoryshchenko
2008-08-16 10:05             ` Denys Fedoryshchenko
2008-08-16 12:27               ` Jarek Poplawski
2008-08-16 12:24                 ` Denys Fedoryshchenko
2008-08-16 12:34                   ` Jarek Poplawski
2008-08-16 13:13                     ` Denys Fedoryshchenko
2008-08-16 14:27                       ` Jarek Poplawski
2008-08-16 15:28                         ` Denys Fedoryshchenko
2008-08-16 15:59                           ` Jarek Poplawski
2008-08-16 18:15                             ` Denys Fedoryshchenko
2008-08-16 18:52                               ` Jarek Poplawski
2008-08-16 19:22                                 ` Denys Fedoryshchenko
2008-08-16 19:47                                   ` Jarek Poplawski
2008-08-17  9:02                                     ` Denys Fedoryshchenko
2008-08-17  9:34                                       ` Jarek Poplawski
2008-08-17  9:35                                         ` Denys Fedoryshchenko
2008-08-17  9:52                                           ` Jarek Poplawski
2008-08-17 10:01                                             ` Denys Fedoryshchenko
2008-08-17 10:31                                               ` Jarek Poplawski
2008-08-17 10:55                                               ` Jarek Poplawski
2008-08-17 12:06                                                 ` Denys Fedoryshchenko
2008-08-17 12:18                                                   ` Denys Fedoryshchenko
2008-08-17 12:38                                                   ` Jarek Poplawski
2008-08-17 12:50                                                     ` Denys Fedoryshchenko
2008-08-17 13:03                                                       ` Denys Fedoryshchenko
2008-08-17 13:36                                                         ` Jarek Poplawski
2008-08-17 19:36                                                           ` Denys Fedoryshchenko
2008-08-17 21:47                                                             ` Jarek Poplawski
2008-08-17 22:02                                                               ` David Miller
2008-08-17 22:21                                                               ` Denys Fedoryshchenko
2008-08-17 22:32                                                                 ` Jarek Poplawski
2008-08-17 13:16                                                       ` Jarek Poplawski [this message]

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=20080817131635.GA3535@ami.dom.local \
    --to=jarkao2@gmail.com \
    --cc=denys@visp.net.lb \
    --cc=netdev@vger.kernel.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).