From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756095Ab3C2PiW (ORCPT ); Fri, 29 Mar 2013 11:38:22 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:53739 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755628Ab3C2PiT (ORCPT ); Fri, 29 Mar 2013 11:38:19 -0400 Message-ID: <1364571495.5113.23.camel@edumazet-glaptop> Subject: Re: [PATCH] net: add a synchronize_net() in netdev_rx_handler_unregister() From: Eric Dumazet To: Ivan Vecera Cc: Jiri Pirko , Steven Rostedt , Andy Gospodarek , "David S. Miller" , LKML , netdev , Nicolas de =?ISO-8859-1?Q?Peslo=FCan?= , Thomas Gleixner , Guy Streeter , "Paul E. McKenney" , stephen@networkplumber.org Date: Fri, 29 Mar 2013 08:38:15 -0700 In-Reply-To: <5155AF24.3090305@redhat.com> References: <1364490997.6345.237.camel@gandalf.local.home> <1364491792.15753.47.camel@edumazet-glaptop> <20130329094856.GB1677@minipsycho.orion> <1364562082.5113.16.camel@edumazet-glaptop> <5155AF24.3090305@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2013-03-29 at 16:11 +0100, Ivan Vecera wrote: > Erik, why doesn't help the write barrier between the assignments. It > should guarantee their orders... or not? > Its not enough, I wont explain here why as RCU is quite well documented in Documentation/RCU