Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2359822imm; Thu, 7 Jun 2018 09:19:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI+3CYtMWYtBsbd+1JPMCXj5Sx0S08CvsJbO0tDE9gZ/8/9bTq4Q9vkwUT/bXJwZhKafElu X-Received: by 2002:a63:a513:: with SMTP id n19-v6mr2075940pgf.381.1528388370361; Thu, 07 Jun 2018 09:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528388370; cv=none; d=google.com; s=arc-20160816; b=MG6Dmi//JCQ7Ca93c9KXmfpkLC4FxHR+o44kvcO7JZ3dPxjuKJj0uTCICclqEg2nhp W3DhlFGXYELbBzloy5Yv7bnkcMkPxbNijfORBoxNl/rZo4uhUOyvsooC0zR67XENqI6q Ss/u0ulzgcp0g7IL6xZ3zoEML9dYS9YHRdCddVvDIeo70d9ML+2zNUO2UxQCkGRpqBlD O2rJtTyrvcF51pR+d3ONVdUXq5D9cg+Estzq9FnJR6HbPYoeOLVfNXhheoTDgDlR49FY YfHo/smzb5MUUbTtnIcXbot2rioXyzugLkWfOVgmBAiDgCkbu/O7yG0Jejr+fSq7bWtu 6/DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=7drlW/3fhLuBZoeHPKlI09IToIkt6Udn0G5uoG8WNZI=; b=Iay14lmQhLnFuOdgO9iT/F/CRG7QZExBMNS667CTJF4WwQtNIPT6kZyCLBI4/Tn5JU d2Wv6nCqzItgCjlRDb2v1dGePCeZL6bcjJNqRpXJO7Ks5ArftHMsfpInUv5FpjVq1fFa rBD5fcng7hV1R05MTFvX2n1Xmhd4t9QgfoKhA+02v1xWmK2hyVeSyHsHRE6Um9HfPI/4 zMSAyiv1Gv8o1BZkdFTbcWgw7fkPY24tW+JF5KA6sa/caF6hMpnpLTOiyRK4T5wxXOq2 avJm7F417V8DrjlfRLeb7O2Cb9pcKeeeCjoLid53CG2WOPYieOPPh3Mf8sTung8K5bPr EC6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fQOKWitG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n64-v6si29494940pfh.210.2018.06.07.09.19.16; Thu, 07 Jun 2018 09:19:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fQOKWitG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934765AbeFGQRK (ORCPT + 99 others); Thu, 7 Jun 2018 12:17:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:56884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932902AbeFGQRI (ORCPT ); Thu, 7 Jun 2018 12:17:08 -0400 Received: from localhost (mobile-166-170-56-202.mycingular.net [166.170.56.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCFA9206B7; Thu, 7 Jun 2018 16:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528388228; bh=NqFThFgYS6FmyIWaa6j9DB9+936MyUdL+kxxr1H7hpM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fQOKWitGD1rjKro0v0WHTg0tf2ehs862ueDRNXhywdgD19xZWLWZDFt9+HPLghGV5 LDjKRHXZha+Ab129D7rI1DAJ7FiYcoazlG53xkLSF6xx/eogTQpyxSjZESVIpCgWxw P0mQfg3tx8PTGbZjci86gK2g7hFhzapCFXyUaBls= Date: Thu, 7 Jun 2018 18:16:40 +0200 From: Greg Kroah-Hartman To: Ben Hutchings Cc: Sriram R , stable@vger.kernel.org, Vasanthakumar Thiagarajan , Kalle Valo , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4.4 08/56] ath10k: fix rfc1042 header retrieval in QCA4019 with eth decap mode Message-ID: <20180607161640.GB15950@kroah.com> References: <20180514064754.853201981@linuxfoundation.org> <20180514064755.718467503@linuxfoundation.org> <1528134761.2289.45.camel@codethink.co.uk> <133624c2c44831fd70edb18c01508f64@codeaurora.org> <1528386597.2289.75.camel@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1528386597.2289.75.camel@codethink.co.uk> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 07, 2018 at 04:49:57PM +0100, Ben Hutchings wrote: > On Thu, 2018-06-07 at 17:22 +0530, Sriram R wrote: > > Hi Ben, > > > > On 2018-06-04 23:22, Ben Hutchings wrote: > > > On Mon, 2018-05-14 at 08:48 +0200, Greg Kroah-Hartman wrote: > > > > 4.4-stable review patch.??If anyone has any objections, please let me? > > > > know. > > > > > > > > ------------------ > > > > > > > > From: Vasanthakumar Thiagarajan > > > > > > > > commit 2f38c3c01de945234d23dd163e3528ccb413066d upstream. > > > > > > > > Chipset from QCA99X0 onwards (QCA99X0, QCA9984, QCA4019 & future) > > > > rx_hdr_status is not padded to align in 4-byte boundary. Define a > > > > new hw_params field to handle different alignment behaviour between > > > > different hw. This patch fixes improper retrieval of rfc1042 header > > > > with QCA4019. This patch along with "ath10k: Properly remove padding > > > > from the start of rx payload" will fix traffic failure in ethernet > > > > decap mode for QCA4019. > > > > > > > > Signed-off-by: Vasanthakumar Thiagarajan > > > > Signed-off-by: Kalle Valo > > > > Signed-off-by: Sriram R > > > > Signed-off-by: Greg Kroah-Hartman > > > > > > [...] > > > > > > I'm curious as to why this backport doesn't include the change to > > > ath10k_htt_rx_h_find_rfc1042().??I understand that the addition of the > > > new field is a dependency for the following patch, but shouldn't the > > > fix included in the upstream commit also be applied to 4.4? > > > > > > > ???Our main intention with this patchset [1] was to provide fix for? > > replay detection security issue seen in ath10k driver which needed to be? > > in the stable releases. > > > > And, as per stable tree guidelines we wanted the patchset to have only? > > one and this important fix . > > OK, I think the problem here is that the rules say "must" when what's > really meant is "should". So the rule "It must fix only one thing." > really means that commits that each make a single logical change are > strongly preferred. > > It does not mean that upstream commits should be trimmed down to > conform to this. Greg generally considers it more important to avoid > changes to the upstream commit, where possible. Right, Greg? > > And speaking only for myself, I particularly dislike stable backports > that are significantly different from the original upstream commit but > don't mention this difference in the commit message. I _STRONGLY_ dislike backports that are different than what is in Linus's tree and normally I catch it when someone tries to do that. I missed this one here, and that's not ok on my part for missing that, and for the authors part in doing that :( So, what to do here, should I revert this series and take a fixed-up one? What exactly is the stable tree now missing because of this mistake? thanks, greg k-h