Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1677340pxu; Sun, 6 Dec 2020 03:44:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNCwuPZpMqK1l9mFESp81mgOH6VDFlL5rV9Erhk7OmiS/jnBimJq5MbcLQjubczA9aXZCJ X-Received: by 2002:aa7:da03:: with SMTP id r3mr15474345eds.155.1607255084387; Sun, 06 Dec 2020 03:44:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607255084; cv=none; d=google.com; s=arc-20160816; b=afolPvSHJh1EAL4kQ5WQbQR/Q4oDD8xTjTdwT1jYzqPqDu0+LLjEOv8NY12xdM7oaJ KlbW8m/F6bKONJGR+kcfCZiLZyy9NrJGzg/q76NJIvNRc+RlZca+my/WF6pXWhHm3bkA CIaiCPmxh6Ax7bI2C4H20BRP4go1ZbHhgHIj+ZJoxChM5F+BKE59+1g/sAHThgsHQ9rL sN9/8S2g/V6u2ioRXOC1mjmT85xvSxuTmIJOdOCR42baHFsirK2kf3VUOxp3RoQvci4C c91NJJ1EZF0MKTKfU8a/RMQBIkKTGQ4kuX0gsfS/OPWy6Pw85ACwd/rslSm0iFxuKNiK 8v3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=Uh5RfJHiyZcwPSV19Sc/KbjOv3HAnjZQAG/fmUd7hkY=; b=waoCEEn3bUw9R4tRMd0pmXApXKBN5E3v77dpybbdoywr9wKISngCr0UJg/JnTcO3OW cI/Bx5b//nmdC3ZhKWVQWFvaCCG92S7YEA4LEUnMsZ5A1NAVdR6s5uBUELr+bxxjDpMD ny6BI7azOyFxWDdONvJqdjKkjfWrUsfqn1Vsrb45DB8f/bTnYXRZ+34Mm3FolHSwBb7O X5/1VUSqX4B0YIeMhWdDv/5pcTop2G5yN5G20dvfFm1QZWS+nR5vZ3HGz8Q0uriU6NWl eBDyF69QuFsrUk9bkKuqkAUkDgbh/379cqYZQVG6G+4aiAr5jRPFiWHgKCVO+CQVQb4M 9MHg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 p90si6253072edd.341.2020.12.06.03.44.21; Sun, 06 Dec 2020 03:44:44 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728474AbgLFLkK (ORCPT + 99 others); Sun, 6 Dec 2020 06:40:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:36764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728238AbgLFLjx (ORCPT ); Sun, 6 Dec 2020 06:39:53 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lijun Pan , Dany Madden , Jakub Kicinski Subject: [PATCH 4.19 10/32] ibmvnic: fix call_netdevice_notifiers in do_reset Date: Sun, 6 Dec 2020 12:17:10 +0100 Message-Id: <20201206111556.268980412@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201206111555.787862631@linuxfoundation.org> References: <20201206111555.787862631@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lijun Pan [ Upstream commit 8393597579f5250636f1cff157ea73f402b6501e ] When netdev_notify_peers was substituted in commit 986103e7920c ("net/ibmvnic: Fix RTNL deadlock during device reset"), call_netdevice_notifiers(NETDEV_RESEND_IGMP, dev) was missed. Fix it now. Fixes: 986103e7920c ("net/ibmvnic: Fix RTNL deadlock during device reset") Signed-off-by: Lijun Pan Reviewed-by: Dany Madden Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/ibm/ibmvnic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -1878,8 +1878,10 @@ static int do_reset(struct ibmvnic_adapt napi_schedule(&adapter->napi[i]); if (adapter->reset_reason != VNIC_RESET_FAILOVER && - adapter->reset_reason != VNIC_RESET_CHANGE_PARAM) + adapter->reset_reason != VNIC_RESET_CHANGE_PARAM) { call_netdevice_notifiers(NETDEV_NOTIFY_PEERS, netdev); + call_netdevice_notifiers(NETDEV_RESEND_IGMP, netdev); + } netif_carrier_on(netdev);