On Mon, Nov 21, 2022 at 9:44 AM David Marchand
wrote:
>
> On Fri, Nov 18, 2022 at 2:36 PM Tomasz Zawadzki
> wrote:
> >
> > During pci_scan_one() for devices that were already registered
> > the pci_common_set() is called to set some of the fields again.
> >
> > This resulted in bus_info allocatio
On Fri, Nov 18, 2022 at 2:36 PM Tomasz Zawadzki
wrote:
>
> During pci_scan_one() for devices that were already registered
> the pci_common_set() is called to set some of the fields again.
>
> This resulted in bus_info allocation leaking, so this patch
> ensures they are always freed beforehand.
>
During pci_scan_one() for devices that were already registered
the pci_common_set() is called to set some of the fields again.
This resulted in bus_info allocation leaking, so this patch
ensures they are always freed beforehand.
Fixes: 8f4de2dba9b9 ("bus/pci: fill bus specific information")
Sign
3 matches
Mail list logo