[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080502.164537.178111042.davem@davemloft.net>
Date: Fri, 02 May 2008 16:45:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: hidave.darkstar@...il.com, marcel@...tmann.org,
netdev@...r.kernel.org, linux-bluetooth@...r.kernel.org,
pavel@....cz, pavel@...e.cz
Subject: Re: [patch 1/1] hci_usb.h: fix hard-to-trigger race
From: akpm@...ux-foundation.org
Date: Fri, 02 May 2008 13:39:55 -0700
> From: Pavel Machek <pavel@....cz>
>
> If someone tries to _urb_unlink while _urb_queue_head is running, he'll see
> _urb->queue == NULL and fail to do any locking. Prevent that from happening
> by strategically placed barriers.
>
> Signed-off-by: Pavel Machek <pavel@...e.cz>
> Cc: Marcel Holtmann <marcel@...tmann.org>
> Cc: Dave Young <hidave.darkstar@...il.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
I know we've been over this, but I'm going to apply this
because as long as the code is in the tree we should take
fixes to identifyable problems.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists