[dpdk-dev] [PATCH] igb_uio: fix refcount if open returns error
Ferruh Yigit
ferruh.yigit at intel.com
Wed Sep 26 19:20:26 CEST 2018
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>
More information about the dev
mailing list