Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp726503imm; Thu, 13 Sep 2018 06:54:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbUiZVeNTlOct99yn5aQZjgD8Qusg9tLMmtEAq3Rkno1WuMfdNixrS0TOk7yiMmSEdI0wZi X-Received: by 2002:a17:902:5617:: with SMTP id h23-v6mr7495675pli.324.1536846855909; Thu, 13 Sep 2018 06:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536846855; cv=none; d=google.com; s=arc-20160816; b=CTnjAlzZunCYqBUbpQEE7Axuky84yowMv1rUuSTajgJeQjPlTGITflqapIZIt08OZt y3xI/cyN4MKpzDcGqU6UzTc9oBslVPocGKXNG9dA6WUVzYcH1L/2QkqMS5J3hTyvMqvB N8BO8uK6MpLjKlPb2dz3d+qOBi+kXZPA6UiAubCxj+0XecpgiE+W03i0g0+HDvse/Yo9 w0gJm7plZM2Y1oDYbgeIottdMzU3HpjMytXmxqnqvuPH2ghJGizd4YjD2vckEPRJi3aK I9qhor/AKtDW2jHyEb/+Zu8NJrMGfCNg9tAMZgL6lU4y//UpTp6t+jljBo3ou4GVkeGS LNWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=Lm261swexnZ7oKrf6bYxINu+Gc2l7IkLKn4pCFGd+Ko=; b=PDmKNegKfHq1REiUUGCSzpTFs9wHn+kDbBqNMwXwVb6rNE8wA91Re+De+O2uYu1JKJ tIvxOaPE8QVl3Zdfekp1m98Vtsma3p3wOxOber0ihkX86+B7h8ViXgNUtSRNauhptM+h 10NL8dTkgwzk7nKI0Pf0LTf+uB0ZLm3B/fD1MgGKs6ycUNnpaLUk9gdELwb8ybo2bBpH 5VliC1moS3fJDGCs13tXZqbzZTYOw9IZKlETDq8xCtNYe57hEPb9VWPco80QBSVqSsIR Egwahy3RNOIad0S00DrhhlQrUsizMxQccpmFfqXXgS4W+G0uV4s8O2J2GfzccINQEegm xixQ== 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 k3-v6si3959476pld.6.2018.09.13.06.54.01; Thu, 13 Sep 2018 06:54:15 -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 S1730986AbeIMTCC (ORCPT + 99 others); Thu, 13 Sep 2018 15:02:02 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33500 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730977AbeIMTCC (ORCPT ); Thu, 13 Sep 2018 15:02:02 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C9B74CE7; Thu, 13 Sep 2018 13:52:26 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , "David S. Miller" Subject: [PATCH 4.18 007/197] r8152: disable RX aggregation on new Dell TB16 dock Date: Thu, 13 Sep 2018 15:29:16 +0200 Message-Id: <20180913131841.864197567@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kai-Heng Feng [ Upstream commit 176eb614b118c96e7797f5ddefd10708c316f621 ] There's a new Dell TB16 dock with a different iSerialNumber. Apply the same fix from commit 0b1655143df0 ("r8152: disable RX aggregation on Dell TB16 dock") to this model. BugLink: https://bugs.launchpad.net/bugs/1785780 Signed-off-by: Kai-Heng Feng Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/usb/r8152.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -5214,8 +5214,8 @@ static int rtl8152_probe(struct usb_inte netdev->hw_features &= ~NETIF_F_RXCSUM; } - if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x3011 && - udev->serial && !strcmp(udev->serial, "000001000000")) { + if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x3011 && udev->serial && + (!strcmp(udev->serial, "000001000000") || !strcmp(udev->serial, "000002000000"))) { dev_info(&udev->dev, "Dell TB16 Dock, disable RX aggregation"); set_bit(DELL_TB_RX_AGG_BUG, &tp->flags); }