numam-dpdk/kernel
Stephen Hemminger ab856f2947 igb_uio: fix refcount if open returns error
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: 19685d5aa7 ("igb_uio: allow multi-process access")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-10-11 13:47:19 +02:00
..
freebsd build: clean up building kernel modules using meson 2018-04-17 16:09:43 +02:00
linux igb_uio: fix refcount if open returns error 2018-10-11 13:47:19 +02:00
Makefile move kernel modules directories 2018-03-21 23:04:21 +01:00
meson.build build: clean up building kernel modules using meson 2018-04-17 16:09:43 +02:00