Re: [RFC] races in access to pci_devices

From: Greg KH (greg@kroah.com)
Date: Thu Nov 15 2001 - 00:24:41 EST


On Wed, Nov 14, 2001 at 11:00:26PM -0500, Alexander Viro wrote:
> Linus, as far as I can see there's no exclusion between
> the code that walks pci_devices and pci_insert_device(). It's
> not a big deal wrt security (not many laptops with remote access)
> but...

It's a bigger deal with large servers that have PCI Hotplug controllers.

> What locking is supposed to be there?

I'll add a lock to keep the problem from happening.

thanks,

greg k-h
-
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/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:41 EST