Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1806658pxb; Mon, 20 Sep 2021 05:53:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4Zm8A04eYA9VU+1DauS9ew0ZthG8Qw/C360pbZjtbd5pd0VQ/twXep49tdQFZo6QB3keo X-Received: by 2002:a92:c012:: with SMTP id q18mr16704169ild.84.1632142437534; Mon, 20 Sep 2021 05:53:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632142437; cv=none; d=google.com; s=arc-20160816; b=o7dFfJuTICDeyl8FIuwFL4yntDY5KwBszfjjllhA8fFqbJQRQB1cZfkl/5ywlc/U+c JU380v9rf5z2PXOuAC2dFx2HIzJ7Vr2McTh0lq4NENaOVhd0lAwcG9ISGPDEZVWkZBYg qebDbyG+3x3UEkt2vGGbjAJvZnh4ACwOBX0UXEIzMJVf4LamlX30omuCbKJIhsPjEr2T A3kqMdF3mAzopl+Uz+Gdsdfr9EVGAkrFmZlD75eIUN0tZfLs/ds2uuSpDipWgB7xXfg8 nW0M9y/9dXYSMZ6ukt6qYetOv37qKKPLYHLZRtyZNMz8IbNY6Ivg1EA0wxZ6iqIVVb9U 52iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iQ/RYTGWyvHJhEkFwUKBP0KJ4dw5GSQ1ahZxGw2J6so=; b=ZJLmB6v7qufvLDWwUdnaMbGYgjw85INkd9G34e2yqQPIp3JFVuMZqpLxRoJNmT/7Dq WNGMEDuZpaLvaaJu7J+/m/ecVTcGQ4IFN6S0jCXU7z3sULBnjSCYrhwj4PsGjRXqXyHi QxS5j2d3xvsnoSywEIpC2DTe61dPOEHj1EQE6AbLsklk08M2LKnM84IL6no20/dMbyyO Cfmzzw+EHEros70WfMxk+OcjcqZ8rAAQ9H13xUpszyyuf3LYPivINuKBc6pek8ykCANl 4ZBtxTY50tSs8RJU70uqJtZwaWs8soZbgVnZG4lSCc/1K1JotFjMK/nge7YXK8Wxto/9 0Qwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DU9PtqkP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s24si13076424jan.84.2021.09.20.05.53.47; Mon, 20 Sep 2021 05:53:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DU9PtqkP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236258AbhITJNU (ORCPT + 99 others); Mon, 20 Sep 2021 05:13:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:51128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236594AbhITJLf (ORCPT ); Mon, 20 Sep 2021 05:11:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 488D560FC0; Mon, 20 Sep 2021 09:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632128920; bh=G0xk/In77HKWUFgN+ffEjb+8ar4ZJgT3XWv0U2UYhcE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DU9PtqkPUzHI6qosiweJrMLwhY9jT6bfPnE6zWk4APz9IcNXvdXAEvqN1wcPRnTtB jaP8bwO2YivOtDZPGYlpM8LD7Ok7ZDY3oTqQ2ZTQXZbpNgIkuPKUzp5wmU/CL1HXBE SMyIb7VyDVhdMK75gmEu2OfknNQf8WFcT7lpXJ2A= Date: Mon, 20 Sep 2021 11:08:38 +0200 From: Greg KH To: Jeya R Cc: linux-arm-msm@vger.kernel.org, srinivas.kandagatla@linaro.org, linux-kernel@vger.kernel.org, fastrpc.upstream@qti.qualcomm.com Subject: Re: [PATCH] misc: fastrpc: fix improper packet size calculation Message-ID: References: <1632125731-18768-1-git-send-email-jeyr@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1632125731-18768-1-git-send-email-jeyr@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 20, 2021 at 01:45:31PM +0530, Jeya R wrote: > The buffer list is sorted and this is not being > considered while calculating packet size. This > would lead to improper copy length calculation > for non-dmaheap buffers which would eventually > cause sending improper buffers to DSP. You do have the full 72 columns to use :) > > Signed-off-by: Jeya R > --- > drivers/misc/fastrpc.c | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) What commit does this fix? thanks, greg k-h