Re: [PATCH -v3 40/47] PCI: Add pci bus removal through /sys/.../pci_bus/.../remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 6, 2012 at 8:50 AM, Jiang Liu <liuj97@xxxxxxxxx> wrote:
> Hi Yinghai,
>        I found many other drivers assume that a pci bus won't disappear if
> the corresponding PCI bridge device still exists. The sysfs interface proposed
> here breaks that assumption and may cause many access-after-free issues.
> So what's the purpose of this interface? Should we remove this interface or
> enhance other drivers to avoid invalid memory access issues?

ok, will make it only show up on root bus.

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux