Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp836228ybi; Fri, 12 Jul 2019 05:27:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9eSs5H/wDZaKeatx6H480On0M71ljhkhpF+u9zJ9yaXYpjgSf24cj504T0onad/vVUeWq X-Received: by 2002:a17:90a:4f0e:: with SMTP id p14mr11162447pjh.40.1562934467912; Fri, 12 Jul 2019 05:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562934467; cv=none; d=google.com; s=arc-20160816; b=gGuqksTK0eGxKOAV+/KPv7yERslQYo2ykliad5TW1pYwtQ0R1PSibI5OoPjqrpcPJH Xs4f5cxpCgNaYYB0UL9GjluGj62MG0CawCJUHoluFzSFHDppGsrvZFPYUgxQ0ZUEX4x/ BiNSPLV5sjoK2TM7x9jN0sW8NyRhlHchl1XC6pcofV63sM+lgdhKvncFGG33NDMMFxkt 9KXXBY5N2KFTkewGBhPQ4V5valJqT7MZTsnmJ1rq0s5XK1HLIMrCxeQprDc1MDHpRqYC Pjj2QU+owvtyVEc+ujMiYBx1Wn4RdTpbvmkf5vsQZHsVZvfsq73IWFIGnDU1D6PKn65X nlLQ== 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:dkim-signature; bh=L8L/o/a9KGLOZWrl8SPARD4I+TPgICoOhTWZrpcBWRE=; b=iHoybzRgizAT6Ip0/3APGWXscnTtSMTsD1uUo7egEP1QbCvNZW0vWEak4/DE6hpTly tQag+plo6blNvXgQrSL6a6ELi687hFHad4/RyWhs2wLdRX3yy+a1W+d32ZRXLqFYRP5B 4ZjuvjhP+lS0Sf4TXRGdAFMfmya2FmbBeuf0KzQhaRJvTQ7ti9UflqyS4e+5CRFHwIey FCc3wE1740RxjkyZinrGzNfFInPWOBnaOieG7BhMG6usW5iVUE4U3r4qafxvdbBzD5Ng pal0brI+3uiad1nin3kqO0vMMbCa4yvD9QqPp/6Gak0RrVu365NfzCS0nte0Bd13tS8G ePgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2mLAFJUP; 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 a10si8128780pff.277.2019.07.12.05.27.32; Fri, 12 Jul 2019 05:27:47 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2mLAFJUP; 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 S1728459AbfGLM0d (ORCPT + 99 others); Fri, 12 Jul 2019 08:26:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:37824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728101AbfGLM0c (ORCPT ); Fri, 12 Jul 2019 08:26:32 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 079272084B; Fri, 12 Jul 2019 12:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934391; bh=KJYZFDg9CNu1QgccJ4oaxtcIncPVDGaGLq0uQFb/BLU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2mLAFJUP5toTrD/KHlRBCtNqgdV4QHLkb31c6GDI8wX7COCAq2K9ItRkaPz12tBRR KNs8jTs7hFNlkc/h9/uNTU1FNEGy2Df1hhlhskpush+uqxK6sEaYxhQ/iOTXTo1ted Az5eL2UnUNTL/kCt3UQu6zucfbwe24aV5dchCsU4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Falcon , "David S. Miller" , Sasha Levin Subject: [PATCH 5.1 041/138] ibmvnic: Refresh device multicast list after reset Date: Fri, 12 Jul 2019 14:18:25 +0200 Message-Id: <20190712121630.250241581@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121628.731888964@linuxfoundation.org> References: <20190712121628.731888964@linuxfoundation.org> User-Agent: quilt/0.66 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 [ Upstream commit be32a24372cf162e825332da1a7ccef058d4f20b ] It was observed that multicast packets were no longer received after a device reset. The fix is to resend the current multicast list to the backing device after recovery. Signed-off-by: Thomas Falcon Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/ibm/ibmvnic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 71bf895409a1..664e52fa7919 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -1851,6 +1851,9 @@ static int do_reset(struct ibmvnic_adapter *adapter, return 0; } + /* refresh device's multicast list */ + ibmvnic_set_multi(netdev); + /* kick napi */ for (i = 0; i < adapter->req_rx_queues; i++) napi_schedule(&adapter->napi[i]); -- 2.20.1