Re: [PATCH] PCI: Fix racing for pci device removing via sysfs

From: Yinghai Lu
Date: Fri Apr 26 2013 - 17:01:48 EST


On Fri, Apr 26, 2013 at 1:53 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote:

>
> You can't be serious. This is a disgusting mess. Checking a list
> pointer for LIST_POISON1? As far as I'm concerned, this is a waste of
> my time.

Well, then need to hold the bus ref, and check bus->devices list instead.

Attachment: fix_racing_removing_3.patch
Description: Binary data