Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1412559yba; Tue, 2 Apr 2019 08:24:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/3lAlm7Z/cM6lpF/L8yJnI8nH5TGafqaLmDcUa6izWIejL9oxaOi35WMekKPivrvONBSp X-Received: by 2002:a62:3849:: with SMTP id f70mr65804154pfa.46.1554218653762; Tue, 02 Apr 2019 08:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554218653; cv=none; d=google.com; s=arc-20160816; b=EEWPU5XE8fdnN0w/5YIL6+tNkjcTtyrN9cBksFittmX9QUJmZhDAPi+Ui8TV9CoYsC dNsQGqmO3PupA4emdh+pZHnUYME1ZSJ9jaS6W0qc998LIzFvpWsYDx5JToX/oAbgXd7k M7lOdZjin8KsdeiufI4OznO7oyEyMFZlzaNmiRS+68BsQqptTWrXn4xd/qPuFlVBGtQz Uzq5FcEpF36tsAa/yAo6/Pq9CPaowZQsRO2Vr7Bo8WZGJOIQlOT7ZVAFE7iN5MhunkLy GMmAQ6EG6DNtr1nUjaeAzigKhA3Uvxny7bl8Qu/Z+UjqMpa9kwiHdthetrwcPr+9gbox mOeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=RJzoKIk44EDqwNMVvVFHcKZeRHM51XF4uCQ41ZiTx5A=; b=HLE3liPCVJCY4Qmz7mMP/bDEfSc/WcPDaQ4Bt/vSyknZMqOuD5cU06X4rqA8qyjmdM IlV0RERSI7uKbajnvPQ/LuwNpZQhP6W1lUSaGdwqShD15T530BfYxFC1Mnoqfuc+j23v IHc4pqviZkNCYSluGesG2mgVrHXXE15pUzwzgfqI4rz2WZ64CFE7Xm5yy89N+ss9RKLq Jjhxh0Mw6xQKkW9kSh+58Gjs1WQESSGiltVIdFaguzVqL/Fzw+NEXf8UhyQ/lo0uBYZA EGv6XUwEiYC6yITQGiLUuxwoNAdPJoAuyj1BAIrDgg7Y9vEaXm8+cCRMecF4hdbG0VRL 4+NA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si11225468plr.131.2019.04.02.08.23.58; Tue, 02 Apr 2019 08:24:13 -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; 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 S1731961AbfDBNnq (ORCPT + 99 others); Tue, 2 Apr 2019 09:43:46 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:43576 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731503AbfDBNkK (ORCPT ); Tue, 2 Apr 2019 09:40:10 -0400 Received: from [167.98.27.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hBJe3-0002o0-Ty; Tue, 02 Apr 2019 14:40:08 +0100 Received: from ben by deadeye with local (Exim 4.92) (envelope-from ) id 1hBJdy-0004yI-7G; Tue, 02 Apr 2019 14:40:02 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Bingkuo Liu" , "Shrikrishna Khare" , "David S. Miller" Date: Tue, 02 Apr 2019 14:38:28 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 97/99] Driver: Vmxnet3: Fix regression caused by 5738a09 In-Reply-To: X-SA-Exim-Connect-IP: 167.98.27.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.65-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Shrikrishna Khare commit 58caf637365fef97c8e84ea5699a8e34d68fce93 upstream. Reported-by: Bingkuo Liu Signed-off-by: Shrikrishna Khare Signed-off-by: David S. Miller [bwh: Backported to 3.16: - Bump version from 1.2.2.0-k to 1.2.3.0-k, which wasn't used in mainline - Adjust context, indentation] Signed-off-by: Ben Hutchings --- drivers/net/vmxnet3/vmxnet3_drv.c | 8 ++++---- drivers/net/vmxnet3/vmxnet3_int.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c @@ -1308,9 +1308,9 @@ vmxnet3_rq_rx_complete(struct vmxnet3_rx goto rcd_done; } new_dma_addr = dma_map_page(&adapter->pdev->dev, - rbi->page, - 0, PAGE_SIZE, - PCI_DMA_FROMDEVICE); + new_page, + 0, PAGE_SIZE, + PCI_DMA_FROMDEVICE); if (dma_mapping_error(&adapter->pdev->dev, new_dma_addr)) { put_page(new_page); --- a/drivers/net/vmxnet3/vmxnet3_int.h +++ b/drivers/net/vmxnet3/vmxnet3_int.h @@ -69,12 +69,12 @@ /* * Version numbers */ -#define VMXNET3_DRIVER_VERSION_STRING "1.2.2.0-k" +#define VMXNET3_DRIVER_VERSION_STRING "1.2.3.0-k" /* Each byte of this 32-bit integer encodes a version number in * VMXNET3_DRIVER_VERSION_STRING. */ -#define VMXNET3_DRIVER_VERSION_NUM 0x01020200 +#define VMXNET3_DRIVER_VERSION_NUM 0x01020300 #if defined(CONFIG_PCI_MSI) /* RSS only makes sense if MSI-X is supported. */