Return-path: Received: from esa2.microchip.iphmx.com ([68.232.149.84]:60251 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725738AbeHYEJl (ORCPT ); Sat, 25 Aug 2018 00:09:41 -0400 Date: Fri, 24 Aug 2018 17:32:46 -0700 From: Adham Abozaeid To: Claudiu Beznea CC: Ajay Singh , , , , , , Subject: Re: [PATCH 10/24] staging: wilc1000: move wilc_multicast_mac_addr_list to 'wilc_vif' struct Message-ID: <20180824173246.106ffee8@edcwlt13-vm> (sfid-20180825_023250_903854_F4ACC63D) In-Reply-To: References: <1534229416-13254-1-git-send-email-ajay.kathat@microchip.com> <1534229416-13254-11-git-send-email-ajay.kathat@microchip.com> <92faa952-6722-cc9f-cccf-2275c4158a37@microchip.com> <20180823153021.3ad58351@ajaysk-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, 24 Aug 2018 11:47:14 +0300 Claudiu Beznea wrote: > > > On 23.08.2018 13:00, Ajay Singh wrote: > > Unless ndo_set_rx_mode() gets called quickly I don't think there is any > > issue here. > > I don't agree with this. It would be safer that the mcast list be passed to wilc_setup_multicast_filter() to be copied to the msg structure then handled by the worker thread. In this case vif->mc_mac_addr_list can be removed all together.