Re: [dpdk-dev] [PATCH] igb_uio: fix refcount if open returns error

2018-10-11 Thread Thomas Monjalon
26/09/2018 19:20, Ferruh Yigit: > On 9/14/2018 4:30 PM, Stephen Hemminger wrote: > > This fixes the problem of reference count leak if > > igbuio_pci_enable_interrupts fails. > > > > Also, replace mutex and integer with a kernel atomic counter. > > This is standard pattern for kernel devices. > >

Re: [dpdk-dev] [PATCH] igb_uio: fix refcount if open returns error

2018-09-26 Thread Ferruh Yigit
On 9/14/2018 4:30 PM, Stephen Hemminger wrote: > This fixes the problem of reference count leak if > igbuio_pci_enable_interrupts fails. > > Also, replace mutex and integer with a kernel atomic counter. > This is standard pattern for kernel devices. > > Fixes: 19685d5aa79c ("igb_uio: allow multi-

[dpdk-dev] [PATCH] igb_uio: fix refcount if open returns error

2018-09-14 Thread Stephen Hemminger
This fixes the problem of reference count leak if igbuio_pci_enable_interrupts fails. Also, replace mutex and integer with a kernel atomic counter. This is standard pattern for kernel devices. Fixes: 19685d5aa79c ("igb_uio: allow multi-process access") Signed-off-by: Stephen Hemminger --- kerne