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: make batadv_test_bit() return 0 or 1 only
Date: Sun, 9 Sep 2012 16:44:28 +0800 [thread overview]
Message-ID: <201209091644.28521.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1346703631-17948-1-git-send-email-linus.luessing@web.de>
On Tuesday, September 04, 2012 04:20:31 Linus Lüssing wrote:
> On some architectures test_bit() can return other values than 0 or 1:
>
> With a generic x86 OpenWrt image in a kvm setup (batadv_)test_bit()
> frequently returns -1 for me, leading to batadv_iv_ogm_update_seqnos()
> wrongly signaling a protected seqno window.
>
> This patch tries to fix this issue by making batadv_test_bit() return 0
> or 1 only.
>
> Signed-off-by: Linus Lüssing <linus.luessing@web.de>
> ---
> bitarray.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied in revision bf73b14.
Thanks,
Marek
prev parent reply other threads:[~2012-09-09 8:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-03 20:20 [B.A.T.M.A.N.] [PATCH] batman-adv: make batadv_test_bit() return 0 or 1 only Linus Lüssing
2012-09-03 21:11 ` Sven Eckelmann
2012-09-03 21:13 ` Sven Eckelmann
2012-09-03 21:24 ` Sven Eckelmann
2012-09-09 8:44 ` 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=201209091644.28521.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