mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: josht@vnet.ibm.com
Cc: linux-kernel@vger.kernel.org, paulmck@us.ibm.com,
	dipankar@in.ibm.com, akpm@osdl.org, samuel@sortiz.org
Subject: Re: [PATCH] irda: Fix RCU lock pairing on error path
Date: Thu, 29 Jun 2006 12:48:12 -0700 (PDT)	[thread overview]
Message-ID: <20060629.124812.90122373.davem@davemloft.net> (raw)
In-Reply-To: <1151542602.18723.19.camel@josh-work.beaverton.ibm.com>

From: Josh Triplett <josht@vnet.ibm.com>
Date: Wed, 28 Jun 2006 17:56:41 -0700

> irlan_client_discovery_indication calls rcu_read_lock and rcu_read_unlock, but
> returns without unlocking in an error case.  Fix that by replacing the return
> with a goto so that the rcu_read_unlock always gets executed.
> 
> Signed-off-by: Josh Triplett <josh@freedesktop.org>

Applied, thanks a lot.

      parent reply	other threads:[~2006-06-29 19:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29  0:56 Josh Triplett
2006-06-29 14:27 ` Paul E. McKenney
2006-06-29 14:59   ` Samuel Ortiz
2006-06-30  6:55   ` [PATCH 1/2] [IrDA] " Samuel Ortiz
2006-06-30  0:02     ` David Miller
2006-06-29 19:48 ` David Miller [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=20060629.124812.90122373.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=akpm@osdl.org \
    --cc=dipankar@in.ibm.com \
    --cc=josht@vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@us.ibm.com \
    --cc=samuel@sortiz.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

Powered by JetHome