From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44D26A04CC; Mon, 21 Sep 2020 15:51:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 861101DA2A; Mon, 21 Sep 2020 15:51:20 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 50E341DA18; Mon, 21 Sep 2020 15:51:19 +0200 (CEST) IronPort-SDR: I4uoG32pSTyH1FWiO/dGpsoK5xb2fPZYQI4SiV3/9rCg8KxYw/7VbdmY0I19tfMlDSzaInjUML +a0L+juSP7Ng== X-IronPort-AV: E=McAfee;i="6000,8403,9750"; a="160435598" X-IronPort-AV: E=Sophos;i="5.77,286,1596524400"; d="scan'208";a="160435598" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2020 06:51:02 -0700 IronPort-SDR: tIUyFjTYiILdHBHei8khpAfF6pKf3PO7D435QZUJ3JAW4aITkumSXpMmSBbumpo5Wu9y1+a8HM JAR0VK+2fLJw== X-IronPort-AV: E=Sophos;i="5.77,286,1596524400"; d="scan'208";a="309040092" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.217.64]) ([10.213.217.64]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2020 06:51:00 -0700 To: Long Li , Stephen Hemminger Cc: dev@dpdk.org, Long Li , stable@dpdk.org References: <1600455227-3709-1-git-send-email-longli@linuxonhyperv.com> From: Ferruh Yigit Message-ID: <09360f01-15cb-67c7-3936-c30aa826a805@intel.com> Date: Mon, 21 Sep 2020 14:50:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <1600455227-3709-1-git-send-email-longli@linuxonhyperv.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/netvsc: fix rndis packet addresses X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/18/2020 7:53 PM, Long Li wrote: > From: Long Li > > The address should be calculated before type cast, not after. > > Fixes: cc02518 ("net/netvsc: split send buffers from Tx descriptors") > Cc: stable@dpdk.org > > Reported-by: Souvik Dey > Signed-off-by: Long Li Applied to dpdk-next-net/main, thanks.