All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCHv4 maint 4/5] batman-adv: Make MCAST capability changes atomic
Date: Wed, 17 Jun 2015 18:39:54 +0800	[thread overview]
Message-ID: <2232099.V71YVDPq5t@voltaire> (raw)
In-Reply-To: <1434467426-4281-5-git-send-email-linus.luessing@c0d3.blue>

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

On Tuesday, June 16, 2015 17:10:25 Linus Lüssing wrote:
> Bitwise OR/AND assignments in C aren't guaranteed to be atomic. One
> OGM handler might undo the set/clear of a specific bit from another
> handler run in between.
> 
> Fix this by using the atomic set_bit()/clear_bit() functions.
> 
> Fixes: 77ec494490d6 ("batman-adv: Announce new capability via multicast
> TVLV") Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
> ---
>  multicast.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied in revision 201a54b.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-06-17 10:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16 15:10 [B.A.T.M.A.N.] [PATCHv4 maint 0/5] Fixes for parallel OGM processing Linus Lüssing
2015-06-16 15:10 ` [B.A.T.M.A.N.] [PATCHv4 maint 1/5] batman-adv: Make DAT capability changes atomic Linus Lüssing
2015-06-17 10:35   ` Marek Lindner
2015-06-16 15:10 ` [B.A.T.M.A.N.] [PATCHv4 maint 2/5] batman-adv: Make NC " Linus Lüssing
2015-06-17 10:37   ` Marek Lindner
2015-06-16 15:10 ` [B.A.T.M.A.N.] [PATCHv4 maint 3/5] batman-adv: Make TT " Linus Lüssing
2015-06-17 10:38   ` Marek Lindner
2015-06-16 15:10 ` [B.A.T.M.A.N.] [PATCHv4 maint 4/5] batman-adv: Make MCAST " Linus Lüssing
2015-06-17 10:39   ` Marek Lindner [this message]
2015-06-16 15:10 ` [B.A.T.M.A.N.] [PATCHv4 maint 5/5] batman-adv: Fix potential synchronization issues in mcast tvlv handler Linus Lüssing
2015-06-17 10:41   ` Marek Lindner

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=2232099.V71YVDPq5t@voltaire \
    --to=mareklindner@neomailbox.ch \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.