Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3876019ybl; Mon, 26 Aug 2019 01:50:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMgN+utMwLuua4cPj8dDaMx11jIjaY8BwvgqsQQtFmeuNxnBptwLUJWQMyl5YdKLPE8uOZ X-Received: by 2002:a63:8ac4:: with SMTP id y187mr15806084pgd.412.1566809453299; Mon, 26 Aug 2019 01:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566809453; cv=none; d=google.com; s=arc-20160816; b=QyddoCKtTAM2l6elt1xpot29wzROnJpZZgVd19EL8ZbUeJkmouvo/wPZTRaz5n2MuC nV2Vv++09L2/exZPaFjFQNGIOKeEzslDUEIi5kI5oN6/jvtx6LhkbtPI+ls2ACKp//LK W9HwtE1PH2XyqqmaFOLJdtqfcaZ97X5uNwJ7QMy51WmmAlXr/weeOW7FuDRu+RKOYqQT /MDxfmnZwW/E0CalvPEBD9zcOBBbGav/DDWVWWg8h8vjEO4lmrhsEKEL40/YcBUIDhX9 3dDgVbO6Jgnl8qehdSvtnChDE0gW2QhbOzfvh6fUIz4Eu5yM3MCyHMPNUSpCDQPDCGwa QvVg== 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 :message-id:date:subject:cc:to:from:authenticated-by; bh=cppxwP1bIdgIGR+iGZPq7q/jPu9XsZaQzjD81ogdeQc=; b=F2v9OKMTvutLrxMx51iuRSDng8z69SqTqakjwjDxBfA8I8RR5RIXMISeobv2VjteTB 91i1/0Mmin89Zj1+uXfKtZcBxAMY+9mH4JqRRvhQVt7YwALpp5qd6lRALvJjZs+vR4KM TU4weKvp2+lkRwr2OYueHQyMp5aoGwlPc3NWJuUpeE7WY18iy5l+njH0Tn00vU7DVRvx Y3TzKR8E1Y6z+j+9OP+MNowfY44plc2+xZYjv60YUOg3AHWRrB/oN8pOfsuNEidudqVw LREdhMYT92HVWXaNZxaW0Ziru1O7rKtKITFCOuLKWObS3pUl/DKZt7/+r1c0VOy1wqVg hFQQ== 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 o24si8892913pll.364.2019.08.26.01.50.38; Mon, 26 Aug 2019 01:50:53 -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 S1730757AbfHZIlx (ORCPT + 99 others); Mon, 26 Aug 2019 04:41:53 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:37398 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729359AbfHZIlw (ORCPT ); Mon, 26 Aug 2019 04:41:52 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x7Q8fiNq000315, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x7Q8fiNq000315 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Aug 2019 16:41:44 +0800 Received: from fc30.localdomain (172.21.177.138) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.468.0; Mon, 26 Aug 2019 16:41:42 +0800 From: Hayes Wang To: CC: , , , Hayes Wang Subject: [PATCH net v2 0/2] r8152: fix side effect Date: Mon, 26 Aug 2019 16:41:14 +0800 Message-ID: <1394712342-15778-317-Taiwan-albertk@realtek.com> X-Mailer: Microsoft Office Outlook 11 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.21.177.138] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: Replace patch #2 with "r8152: remove calling netif_napi_del". v1: The commit 0ee1f4734967 ("r8152: napi hangup fix after disconnect") add a check to avoid using napi_disable after netif_napi_del. However, the commit ffa9fec30ca0 ("r8152: set RTL8152_UNPLUG only for real disconnection") let the check useless. Therefore, I revert commit 0ee1f4734967 ("r8152: napi hangup fix after disconnect") first, and add another patch to fix it. Hayes Wang (2): Revert "r8152: napi hangup fix after disconnect" r8152: remove calling netif_napi_del drivers/net/usb/r8152.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.21.0