All of
 help / color / mirror / Atom feed
From: Dmitry Torokhov <>
To: Oliver Neukum <>
	Ondrej Zary <>,
	Jiri Kosina <>, Daniel Ritz <>
Subject: Re: [patch]race between disconnect and open in usbtouchscreen
Date: Fri, 20 Nov 2009 13:22:59 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Hi Oliver,

On Fri, Nov 20, 2009 at 10:13:47PM +0100, Oliver Neukum wrote:
> Hi,
> an open() between killing the urb and unregistering the device
> can lead to IO to a disconnected device.

usbtouch_close() calls usb_kill_urb() so there is no race.
usb_kill_urb() simply not needed in usbtouch_disconnect().



  reply	other threads:[~2009-11-20 21:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 21:13 [patch]race between disconnect and open in usbtouchscreen Oliver Neukum
2009-11-20 21:22 ` Dmitry Torokhov [this message]
2009-11-20 21:49   ` Oliver Neukum
2009-11-23 17:21     ` Dmitry Torokhov

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* 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.