diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-01-19 20:01:42 (GMT) |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 11:49:59 (GMT) |
commit | 16b1aba849eeb45d51a5de731cf103143439ffe1 (patch) | |
tree | 2bbda8638bd925014e8d6025d704cb2860d28606 /net/batman-adv/originator.h | |
parent | fb778ea173fcd58b8fc3d75c674f07fab187b55f (diff) | |
download | linux-16b1aba849eeb45d51a5de731cf103143439ffe1.tar.xz |
batman-adv: protect originator nodes with reference counters
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/originator.h')
-rw-r--r-- | net/batman-adv/originator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/originator.h b/net/batman-adv/originator.h index 88e5c60..edc64dc 100644 --- a/net/batman-adv/originator.h +++ b/net/batman-adv/originator.h @@ -25,6 +25,7 @@ int originator_init(struct bat_priv *bat_priv); void originator_free(struct bat_priv *bat_priv); void purge_orig_ref(struct bat_priv *bat_priv); +void orig_node_free_ref(struct kref *refcount); struct orig_node *get_orig_node(struct bat_priv *bat_priv, uint8_t *addr); struct neigh_node *create_neighbor(struct orig_node *orig_node, struct orig_node *orig_neigh_node, |