On Tuesday, October 09, 2012 21:04:47 Antonio Quartulli wrote:
@@ -1061,9 +1063,12 @@ int batadv_recv_unicast_packet(struct sk_buff *skb,
/* packet for me */ if (batadv_is_my_mac(unicast_packet->dest)) {
if (is4addr)
if (is4addr) { batadv_dat_inc_counter(bat_priv, unicast_4addr_packet->subtyp
e); + orig_addr = unicast_4addr_packet->src;
orig_node = batadv_orig_hash_find(bat_priv,
orig_addr); + }
Last time I checked batadv_orig_hash_find() increased a refcounter ...
Cheers, Marek