From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 11 Sep 2015 17:19:56 +0200 From: Petr =?iso-8859-2?Q?=A9tetiar?= Message-ID: <20150911151956.GF19674@ibawizard.net> Reply-To: Petr =?iso-8859-2?Q?=A9tetiar?= References: <1441980723-3805-1-git-send-email-sw@simonwunderlich.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1441980723-3805-1-git-send-email-sw@simonwunderlich.de> Subject: Re: [B.A.T.M.A.N.] [PATCH-maint] batman-adv: lock crc access in bridge loop avoidance List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Hi, Simon Wunderlich [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