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

Thomas Monjalon thomas at monjalon.net
Thu Oct 11 13:48:48 CEST 2018


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.
> > 
> > Fixes: 19685d5aa79c ("igb_uio: allow multi-process access")
> > Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks




More information about the dev mailing list