All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Petr Štetiar" <ynezz@true.cz>
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-maint] batman-adv: lock crc access in	bridge loop avoidance
Date: Fri, 11 Sep 2015 17:19:56 +0200	[thread overview]
Message-ID: <20150911151956.GF19674@ibawizard.net> (raw)
In-Reply-To: <1441980723-3805-1-git-send-email-sw@simonwunderlich.de>

Hi,

Simon Wunderlich <sw@simonwunderlich.de> [2015-09-11 16:12:03]:

> @@ -1669,11 +1685,15 @@ int batadv_bla_claim_table_seq_print_text(struct seq_file *seq, void *offset)
>  		hlist_for_each_entry_rcu(claim, head, hash_entry) {
>  			is_own = batadv_compare_eth(claim->backbone_gw->orig,
>  						    primary_addr);
> +
> +			spin_lock_bh(&claim->backbone_gw->crc_lock);
> +			backbone_crc = claim->backbone_gw->crc;
> +			spin_lock_bh(&claim->backbone_gw->crc_lock);

shouldn't this be spin_unlock_bh?

-- ynezz

  reply	other threads:[~2015-09-11 15:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 14:12 [B.A.T.M.A.N.] [PATCH-maint] batman-adv: lock crc access in bridge loop avoidance Simon Wunderlich
2015-09-11 15:19 ` Petr Štetiar [this message]
2015-09-11 15:43   ` Simon Wunderlich
2015-09-11 15:38     ` Andrew Lunn

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=20150911151956.GF19674@ibawizard.net \
    --to=ynezz@true.cz \
    --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.