From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Mueller Date: Tue, 09 May 2006 22:17:59 +0000 Subject: Re: [LARTC] tc del class not working Message-Id: <20060509221759.GA3892@lintera> List-Id: References: <0633E0EDB4F25F43A2D7179CA11FAFAB25530F@xavier.staff.greatlakes.net> In-Reply-To: <0633E0EDB4F25F43A2D7179CA11FAFAB25530F@xavier.staff.greatlakes.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, this is a bug in the sch_hfsc.c module, the level count doesn't get adjusted correctly. The following patch works for me, but is not a beauty and may be wrong. Andreas Eliot, Wireless and Server Administrator, Great Lakes Internet wrote: ... > Also, a quick test by hand shows that it is only from having a child > class assigned to it that it becomes un-deletable. ... > > This does not: > > wireless-r1 raddb # tc class add dev wivl4 parent 5:0 classid 5:56 hfsc > ls m1 1536.0Kbit d 2000ms m2 256.00Kbit ul m2 1024Kbit > > wireless-r1 raddb # tc class add dev wivl4 parent 5:56 classid 5:57 hfsc > sc umax 1500b dmax 30ms rate 80Kbit > > wireless-r1 raddb # tc class del dev wivl4 parent 5:56 classid 5:57 hfsc > sc umax 1500b dmax 30ms rate 80Kbit > > wireless-r1 raddb # tc class del dev wivl4 parent 5:0 classid 5:56 hfsc > ls m1 1536.0Kbit d 2000ms m2 256.00Kbit ul m2 1024Kbit > RTNETLINK answers: Device or resource busy ... _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc