From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Schimmel Subject: Re: [PATCH net-next v2 2/4] bridge: vlan: use rcu for vlan_list traversal in br_fill_ifinfo Date: Tue, 13 Oct 2015 10:19:25 +0300 Message-ID: <20151013071925.GC28618@colbert.mtl.com> References: <1444679225-7354-1-git-send-email-razor@blackwall.org> <1444679225-7354-3-git-send-email-razor@blackwall.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: , , , , , , "Nikolay Aleksandrov" To: Nikolay Aleksandrov Return-path: Received: from mail-db3on0095.outbound.protection.outlook.com ([157.55.234.95]:62720 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751819AbbJMHTl (ORCPT ); Tue, 13 Oct 2015 03:19:41 -0400 Content-Disposition: inline In-Reply-To: <1444679225-7354-3-git-send-email-razor@blackwall.org> Sender: netdev-owner@vger.kernel.org List-ID: Mon, Oct 12, 2015 at 10:47:03PM IDT, razor@blackwall.org wrote: >From: Nikolay Aleksandrov > >br_fill_ifinfo is called by br_ifinfo_notify which can be called from >many contexts with different locks held, sometimes it relies upon >bridge's spinlock only which is a problem for the vlan code, so use >explicitly rcu for that to avoid problems. > >Signed-off-by: Nikolay Aleksandrov Reviewed-by: Ido Schimmel