Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp950228ybl; Wed, 21 Aug 2019 07:56:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/QEFGsVv/kBWI8EocPwgbYMwFkFKFjCMv6oUwyh80DtS+dLNRvdOe1Gk3rGxccRQk6lIy X-Received: by 2002:aa7:9abc:: with SMTP id x28mr36629651pfi.234.1566399415799; Wed, 21 Aug 2019 07:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566399415; cv=none; d=google.com; s=arc-20160816; b=DpoZKbg0GapWUw+91CXNDJ/KKMzZX4JDSiB1vDwRkYlPLvp7mEMVo3f1WshTStfvfN V/S7szCWxr7IjpU6QhsIlgaGwJ+JMqln9pjif+qxHeKI9w9h6eSFpT/IFPec5gIuxQs4 yLdYZA2l7P1fD6oD+0KRhOTZwlKu/VAPjzzbArAi3lbrC6eWAONPt0sMhC7niRASUbS4 B0N6eULUMXahG4dr6kPi+jlxnI7HZD7jesklGxvHJwZNvRr5CLLrU8cTyIrlpleWZaNL qbdzCkQVPhpuMdaNLpxINbng4FxS3H9Gb3siqJzH63PB/7wn4f29UH4r6JP9S4GDcCCe JH1w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=GAjf1gKl88a4+nwBEg3uDCEvgKw2m78EcZXh0VeJFNQ=; b=kvFzJP6uPHh9xspfLP+Z12qPHH7scDLtSMPkjSqsesI09qY9n+koGMSqaPYaTpszWG gkVuDZtKvRZiWEX3iKBra2fGUfAc3VcP178O1v8xBIunh6Vi8fKZ+lJKUSUPO6fYFSS/ m+5IvE830Wnmdtdc+/uVA3swC4mTz1+e+W6diR3zk6mda09dpAzNKrjQvrweX4zSTFUp 5bIBZzoxqtLCe+nJlFyx48XNbrjkyw6tbneHl90YNSwDtTIJGfF9NBWTKfr+N6UZ++mt XhhmK1Zu+U35h71ZEadAfYP9/fISstn1f3TJzhFbAFjAYrcmSYugAG3LT2mp9G2lk+FE qpjw== 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 az7si14909694plb.71.2019.08.21.07.56.40; Wed, 21 Aug 2019 07:56:55 -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 S1728527AbfHUMkh convert rfc822-to-8bit (ORCPT + 99 others); Wed, 21 Aug 2019 08:40:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:59388 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726484AbfHUMkg (ORCPT ); Wed, 21 Aug 2019 08:40:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 43AA6AFCE; Wed, 21 Aug 2019 12:40:34 +0000 (UTC) Date: Wed, 21 Aug 2019 14:40:33 +0200 From: Thomas Bogendoerfer To: Jakub Kicinski Cc: Jonathan Corbet , Ralf Baechle , Paul Burton , James Hogan , Dmitry Torokhov , Lee Jones , "David S. Miller" , Srinivas Kandagatla , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Jiri Slaby , Evgeniy Polyakov , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v5 11/17] net: sgi: ioc3-eth: no need to stop queue set_multicast_list Message-Id: <20190821144033.2e206cb18b1dfd10377357c2@suse.de> In-Reply-To: <20190819170440.37ff18d4@cakuba.netronome.com> References: <20190819163144.3478-1-tbogendoerfer@suse.de> <20190819163144.3478-12-tbogendoerfer@suse.de> <20190819170440.37ff18d4@cakuba.netronome.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Aug 2019 17:04:53 -0700 Jakub Kicinski wrote: > On Mon, 19 Aug 2019 18:31:34 +0200, Thomas Bogendoerfer wrote: > > netif_stop_queue()/netif_wake_qeue() aren't needed for changing > > multicast filters. Use spinlocks instead for proper protection > > of private struct. > > > > I thought it may protect ip->emcr, but that one is accessed with no > locking from the ioc3_timer() -> ioc3_setup_duplex() path.. it should protect ip->emcr ... I'll add spin_lock/unlock to setup_duplex and respin the patch. Thomas. -- SUSE Linux GmbH GF: Felix Imend?rffer, Mary Higgins, Sri Rasiah HRB 21284 (AG N?rnberg)