From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Sutter Subject: Re: [iproute PATCH] tc: don't accept qdisc 'handle' greater than ffff Date: Sun, 18 Sep 2016 21:47:12 +0200 Message-ID: <20160918194419.5526D64BDC@mail.nwl.cc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Stephen Hemminger , Hangbin Liu To: Davide Caratti Return-path: Received: from orbyte.nwl.cc ([151.80.46.58]:41087 "EHLO mail.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932228AbcIRToV (ORCPT ); Sun, 18 Sep 2016 15:44:21 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Sep 16, 2016 at 10:30:00AM +0200, Davide Caratti wrote: > since get_qdisc_handle() truncates the input value to 16 bit, return an > error and prompt "invalid qdisc ID" in case input 'handle' parameter needs > more than 16 bit to be stored. > > Signed-off-by: Davide Caratti Acked-by: Phil Sutter