From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 26 Apr 2011 02:03:16 +0200 References: <1303307015-970-1-git-send-email-lindner_marek@yahoo.de> In-Reply-To: <1303307015-970-1-git-send-email-lindner_marek@yahoo.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201104260203.16908.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Make bat_priv->primary_if an rcu protected pointer Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Wednesday 20 April 2011 15:43:34 Marek Lindner wrote: > The rcu protected macros rcu_dereference() and rcu_assign_pointer() > for the bat_priv->primary_if need to be used, as well as spin/rcu locking. > > Otherwise we might end up using a primary_if pointer pointing to already > freed memory. Applied in revision 89079ae. Regards, Marek