[dpdk-dev] [PATCH v2] eal: Fix wrong resource release while unmapping pci devices

2016-06-20 Thread Thomas Monjalon
2016-06-17 14:12, David Marchand: > On Thu, Jun 16, 2016 at 4:33 AM, Tetsuya Mukawa wrote: > > This patch fixes wrong resource release of pci_uio_unmap(). > > The 'path' member of mapped_pci_resource structure is allocated by > > primary process, but currently it will be freed by both primary > >

[dpdk-dev] [PATCH v2] eal: Fix wrong resource release while unmapping pci devices

2016-06-17 Thread David Marchand
On Thu, Jun 16, 2016 at 4:33 AM, Tetsuya Mukawa wrote: > This patch fixes wrong resource release of pci_uio_unmap(). > The 'path' member of mapped_pci_resource structure is allocated by > primary process, but currently it will be freed by both primary > and secondary process. > The patch fixes to

[dpdk-dev] [PATCH v2] eal: Fix wrong resource release while unmapping pci devices

2016-06-16 Thread Tetsuya Mukawa
This patch fixes wrong resource release of pci_uio_unmap(). The 'path' member of mapped_pci_resource structure is allocated by primary process, but currently it will be freed by both primary and secondary process. The patch fixes to be freed by only primary process. Signed-off-by: Tetsuya Mukawa