From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net 1/2] net: sched: em_nbyte: don't add the data offset twice Date: Wed, 24 Jan 2018 14:53:09 -0500 (EST) Message-ID: <20180124.145309.736940887245603705.davem@davemloft.net> References: <20180118103236.32494-1-w.bumiller@proxmox.com> <20180118103236.32494-3-w.bumiller@proxmox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, stephen@networkplumber.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us To: w.bumiller@proxmox.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:48952 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752424AbeAXTxN (ORCPT ); Wed, 24 Jan 2018 14:53:13 -0500 In-Reply-To: <20180118103236.32494-3-w.bumiller@proxmox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Wolfgang Bumiller Date: Thu, 18 Jan 2018 11:32:35 +0100 > 'ptr' is shifted by the offset and then validated, > the memcmp should not add it a second time. > > Signed-off-by: Wolfgang Bumiller Applied.