Re: [RFC] PCI device list locking - take 3

Chris Wright (chris@wirex.com)
Thu, 19 Jun 2003 11:49:01 -0700


* Greg KH (greg@kroah.com) wrote:
> Here's the latest version of the pci list locking patch. I've taken
> Chris's comments and addressed them by making sure we don't walk off the
> end of a deleted device in the pci_find_* and pci_get_* functions.

Looks good. Perhaps the pci_proc_detach should be earlier (i.e. before
list removal) to reflect the order in which things are added. I'm not
sure of the dependencies, but seems a good practice anyway.

thanks,
-chris

-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/