From: Stephen Hemminger <stephen.hemminger@vyatta.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-kernel@vgr.kernel.org
Subject: Re: qdisc and down links (regression)
Date: Mon, 11 Aug 2008 10:34:05 -0700 [thread overview]
Message-ID: <20080811103405.7c096f6d@extreme> (raw)
In-Reply-To: <20080808.232427.227852834.davem@davemloft.net>
On Fri, 08 Aug 2008 23:24:27 -0700 (PDT)
David Miller <davem@davemloft.net> wrote:
> From: Stephen Hemminger <stephen.hemminger@vyatta.com>
> Date: Fri, 8 Aug 2008 14:32:01 -0700
>
> > It fixes it for qdisc but not for ingress filters
> >
> > # tc qdisc add dev eth0 handle ffff: ingress
> > # tc filter add dev eth0 parent ffff: protocol ip \
> > prio 50 u32 match ip src 0.0.0.0/0 police rate 800kbit burst 10k drop flowid :1
> > RTNETLINK answers: Invalid argument
> > We have an error talking to the kernel
> >
> > Another problem is that the ingress qdisc can no longer be deleted
> > successfully.
>
> These problems should be fixed by the following patch which
> I've just pushed to net-2.6:
>
> pkt_sched: Fix ingress deletion and filter attachment.
>
> Based upon bug reports by Stephen Hemminger.
>
> We still had some cases using ->qdisc instead of ->qdisc_sleeping.
>
> Also, qdisc_lookup() should return ingress qdiscs.
>
> Signed-off-by: David S. Miller <davem@davemloft.net>
Thanks, all fixed.
prev parent reply other threads:[~2008-08-11 17:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 21:30 qdisc and down links (regression) Stephen Hemminger
2008-08-07 22:47 ` David Miller
2008-08-08 1:50 ` David Miller
2008-08-08 21:32 ` Stephen Hemminger
2008-08-08 23:11 ` David Miller
2008-08-08 23:12 ` Stephen Hemminger
2008-08-09 6:24 ` David Miller
2008-08-11 17:34 ` Stephen Hemminger [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=20080811103405.7c096f6d@extreme \
--to=stephen.hemminger@vyatta.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vgr.kernel.org \
--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).