From: Linus Lüssing Date: Sun, 13 Feb 2011 21:13:04 +0000 (+0000) Subject: batman-adv: Increase orig_node refcount before releasing rcu read lock X-Git-Tag: v2.6.39-rc1~468^2~151^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43c70ad5ce5691cce24dae6610731694c0f3fcc8;p=pandora-kernel.git batman-adv: Increase orig_node refcount before releasing rcu read lock 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. Signed-off-by: Linus Lüssing Signed-off-by: Marek Lindner --- Reading git-diff-tree failed