Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4368812ima; Mon, 4 Feb 2019 15:24:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IaWzd+CbtX5i2K/5Yh3NzBsQsisQG+rVDItc9bSCxP48MDfKCeUuGHAfeg2r2gt6eZ5ubLN X-Received: by 2002:a17:902:8a95:: with SMTP id p21mr1965285plo.183.1549322641685; Mon, 04 Feb 2019 15:24:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549322641; cv=none; d=google.com; s=arc-20160816; b=bjz7n7GagLw3u+6ZXikBDjDmkD98NG5ThxUzeNOZaTUzZ62QOnKMR0o6hPG+IfXx66 FH9bfHKHi++7qLhRL8YEedbO0PtYgvNxmW36y1QbfRHPY1mkOOSgUqZQtYVnghbSIBTk 1G+JQtj7yg1SbYjXSzvgdQeoyka57GGZpG4D2NfflUFjgIpBHC0emOkiHdEzMt4zhzGB Z8a1fpkxBOsffvLtRH9pTroRPF16O4mfNrGB3utlzXnm3lZfr+2AkKkhSCYKbIB6t0Bj kHr7szI5YjHX4K59ht4nAhvgHSZnZtumj6dWneZmEgJdR3QkDFKkv25DSsc05mXFzUxZ FQvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7DSRFx9hbRI3HUW5doCCbHdBgEdMXhY5gIXwjyppIUY=; b=uYsOsApARzGzwJ+wmqNaI3JUbAT7sTV1rLsS3KCzKaiaV2w61MKXx4PB3a1EPaxpB2 9n7U8j8An/sKJq1nrY2hzFeRRl5Z1pE3wc0x6/vZnBhQpPbT5BWcuOfqDbG3VdPXJpTo 6wccybjOW84SL4ghGPF7JQNC2fk8u2AajB8VKfhSA9bN95xY7Z3qLjZVeskNDCUSuhvx cre4/ieJ16Pq/h9LJ4dG+LrHHJAMvhypuT1a+6E0Ibs9eMPK5BjqNM0hbIdDHKFpy8dy AjoNdlhLTZNAyr8m5iTCYa22AwWkg1/+JCLFhK4HCJVENCvCxMbzptLCDytj2LID1MNu OfzA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11si678524pgv.251.2019.02.04.15.23.46; Mon, 04 Feb 2019 15:24:01 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727212AbfBDXTR (ORCPT + 99 others); Mon, 4 Feb 2019 18:19:17 -0500 Received: from mga07.intel.com ([134.134.136.100]:44787 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbfBDXTR (ORCPT ); Mon, 4 Feb 2019 18:19:17 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Feb 2019 15:19:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,560,1539673200"; d="scan'208";a="272501948" Received: from baparham-mobl.amr.corp.intel.com (HELO localhost) ([10.249.254.152]) by orsmga004.jf.intel.com with ESMTP; 04 Feb 2019 15:19:12 -0800 Date: Tue, 5 Feb 2019 01:19:11 +0200 From: Jarkko Sakkinen To: David Laight Cc: "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "stable@vger.kernel.org" , James Morris , Tomas Winkler , Jerry Snitselaar Subject: Re: [PATCH v2] tpm/tpm_crb: Avoid unaligned reads in crb_recv() Message-ID: <20190204231910.GB10107@linux.intel.com> References: <20190204135943.15756-1-jarkko.sakkinen@linux.intel.com> <1047dac117cc43bbae1c0db922b13aa5@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1047dac117cc43bbae1c0db922b13aa5@AcuMS.aculab.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 04, 2019 at 05:12:57PM +0000, David Laight wrote: > > + * field) in order to make sure that the reminding memory accesses will > > remaining Thanks for your feedback David. I'll implement your suggestions (also in your other response). /Jarkko