Skip to content
Snippets Groups Projects
Commit 43c70ad5 authored by Linus Lüssing's avatar Linus Lüssing Committed by Marek Lindner
Browse files

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: default avatarLinus Lüssing <linus.luessing@ascom.ch>
Signed-off-by: default avatarMarek Lindner <lindner_marek@yahoo.de>
parent 5d02b3cd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment