[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080808143201.009caf54@extreme>
Date: Fri, 8 Aug 2008 14:32:01 -0700
From: Stephen Hemminger <stephen.hemminger@...tta.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, linux-kernel@....kernel.org
Subject: Re: qdisc and down links (regression)
On Thu, 07 Aug 2008 18:50:24 -0700 (PDT)
David Miller <davem@...emloft.net> wrote:
> From: David Miller <davem@...emloft.net>
> Date: Thu, 07 Aug 2008 15:47:35 -0700 (PDT)
>
> > From: Stephen Hemminger <stephen.hemminger@...tta.com>
> > Date: Thu, 7 Aug 2008 14:30:36 -0700
> >
> > > Before the mulitqueue changes in 2.6.27-rc it was possible to setup
> > > queueing disciplines before the link came up (carrier active). This
> > > no longer works. If link is down, the qdisc is the noop_qdisc and
> > > any configuration changes don't seem to be shown.
> >
> > I'll see why this happens, it wasn't an intentional change.
>
> This should fix it, let me know if it doesn't:
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists