Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755751AbcDNPe5 (ORCPT ); Thu, 14 Apr 2016 11:34:57 -0400 Received: from mx2.suse.de ([195.135.220.15]:49969 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649AbcDNPe4 (ORCPT ); Thu, 14 Apr 2016 11:34:56 -0400 Date: Thu, 14 Apr 2016 17:34:52 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Phil Sutter cc: Eric Dumazet , Jamal Hadi Salim , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Deleting child qdisc doesn't reset parent to default qdisc? In-Reply-To: <20160414151813.GE3715@orbyte.nwl.cc> Message-ID: References: <1460646099.10638.44.camel@edumazet-glaptop3.roam.corp.google.com> <20160414151813.GE3715@orbyte.nwl.cc> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 24 On Thu, 14 Apr 2016, Phil Sutter wrote: > OTOH some qdiscs (CBQ, DRR, DSMARK, HFSC, HTB, QFQ) assign the default > one upon deletion instead of noop_qdisc, hence I would describe > the situation using the words 'inconsistent' and 'accident' rather than > 'expected'. :) Exactly. I'd again like to stress the fact that this configuration works: jikos:~ # tc qdisc show qdisc tbf 10: dev eth0 root refcnt 2 rate 800Mbit burst 131000b lat 1.0ms and this (after performing add/delete operation) doesn't: jikos:~ # tc qdisc show qdisc tbf 10: dev eth0 root refcnt 2 rate 800Mbit burst 131000b lat 1.0ms It's hard to spot a difference (hint: there is none). Thanks, -- Jiri Kosina SUSE Labs