From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yang Yingliang Subject: Re: [PATCH iproute2] fq: don't allow set options to zero Date: Mon, 12 May 2014 14:55:06 +0800 Message-ID: <5370704A.4050101@huawei.com> References: <1399868319-2184-1-git-send-email-yangyingliang@huawei.com> <1399874336.7973.17.camel@edumazet-glaptop2.roam.corp.google.com> <53706F62.2050603@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: , To: Eric Dumazet Return-path: Received: from szxga03-in.huawei.com ([119.145.14.66]:2944 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754133AbaELGzS (ORCPT ); Mon, 12 May 2014 02:55:18 -0400 In-Reply-To: <53706F62.2050603@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: On 2014/5/12 14:51, Yang Yingliang wrote: > On 2014/5/12 13:58, Eric Dumazet wrote: >> On Mon, 2014-05-12 at 12:18 +0800, Yang Yingliang wrote: >>> Now options of fair queue can be zero but cannot be (~0U). >>> Zero is useless, so don't allow set the options to zero. >>> Also, maxrate cannot be reset to unlimited because it >>> cannot be (~0U). >>> >>> Cc: Eric Dumazet >>> Signed-off-by: Yang Yingliang >>> --- >>> tc/q_fq.c | 24 ++++++++++++------------ >>> 1 file changed, 12 insertions(+), 12 deletions(-) >> >> No, you are changing behavior for existing scripts. >> >> If you really want to fix these cases, you need to do it properly. >> > > Do you mean allow options set to zero changing the behavior ? > > Regards, > Yang > My bad, please ignore this mail. Sorry for the noisy.