Return-Path: Date: Tue, 13 Oct 2015 10:21:01 +0300 From: Ido Schimmel Message-ID: <20151013072101.GE28618@colbert.mtl.com> References: <1444679225-7354-1-git-send-email-razor@blackwall.org> <1444679225-7354-5-git-send-email-razor@blackwall.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1444679225-7354-5-git-send-email-razor@blackwall.org> Subject: Re: [Bridge] [PATCH net-next v2 4/4] bridge: vlan: move back vlan_flush List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikolay Aleksandrov Cc: bridge@lists.linux-foundation.org, Nikolay Aleksandrov , netdev@vger.kernel.org, roopa@cumulusnetworks.com, shm@cumulusnetworks.com, davem@davemloft.net Mon, Oct 12, 2015 at 10:47:05PM IDT, razor@blackwall.org wrote: >From: Nikolay Aleksandrov > >Ido Schimmel reported a problem with switchdev devices because of the >order change of del_nbp operations, more specifically the move of >nbp_vlan_flush() which deletes all vlans and frees vlgrp after the >rx_handler has been unregistered. So in order to fix this move >vlan_flush back where it was and make it destroy the rhtable after >NULLing vlgrp and waiting a grace period to make sure noone can see it. > >Reported-by: Ido Schimmel >Signed-off-by: Nikolay Aleksandrov Reviewed-by: Ido Schimmel Thanks Nikolay!