From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sun, 13 Feb 2011 22:11:05 +0100 References: <201102031802.52134.lindner_marek@yahoo.de> <1296832896-30081-8-git-send-email-linus.luessing@ascom.ch> In-Reply-To: <1296832896-30081-8-git-send-email-linus.luessing@ascom.ch> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201102132211.05700.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 7/7] batman-adv: Increase orig_node refcount before releasing rcu read lock 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 Friday 04 February 2011 16:21:36 Linus L=C3=BCssing wrote: > When unicast_send_skb() is increasing the orig_node's refcount another > thread might have been freeing this orig_node already. We need to > increase the refcount in the rcu read lock protected area to avoid that. Applied in revision 1943. Thanks, Marek