From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: enable fast client detection using unicast_4addr packets
Date: Sun, 14 Oct 2012 22:57:29 +0800 [thread overview]
Message-ID: <201210142257.29499.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1349787887-26501-1-git-send-email-ordex@autistici.org>
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
prev parent reply other threads:[~2012-10-14 14:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-09 13:04 [B.A.T.M.A.N.] [PATCH] batman-adv: enable fast client detection using unicast_4addr packets Antonio Quartulli
2012-10-14 14:57 ` Marek Lindner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201210142257.29499.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox