Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] ALSA: seq: Correct unlock sequence at snd_seq_client_ioctl_unlock()
Date: Mon, 15 Apr 2019 12:05:11 +0200	[thread overview]
Message-ID: <s5himvf8tyg.wl-tiwai@suse.de> (raw)
In-Reply-To: <alpine.DEB.2.21.1904151258340.20954@eliteleevi>

On Mon, 15 Apr 2019 12:05:07 +0200,
Kai Vehmanen wrote:
> 
> Hi,
> 
> On Mon, 15 Apr 2019, Takashi Iwai wrote:
> 
> > The doubly unlock sequence at snd_seq_client_ioctl_unlock() is tricky.
> > I took a direct unref call since I thought it would avoid
> > misunderstanding, but rather this seems more confusing.  Let's use
> > snd_seq_client_unlock() consistently even if they look strange to be
> > called twice, and add more comments for avoiding reader's confusion.
> > 
> > Fixes: 6b580f523172 ("ALSA: seq: Protect racy pool manipulation from OSS sequencer")
> > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > ---
> >  sound/core/seq/seq_clientmgr.c | 7 ++++++-
> >  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> thanks, looks good now (this and rest of the clean-up series):
>   Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>

Thanks!


Takashi

      reply	other threads:[~2019-04-15 10:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15  9:31 [PATCH] ALSA: seq: Correct unlock sequence at snd_seq_client_ioctl_unlock() Takashi Iwai
2019-04-15 10:05 ` Kai Vehmanen
2019-04-15 10:05   ` Takashi Iwai [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=s5himvf8tyg.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=kai.vehmanen@linux.intel.com \
    /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