Messages in this thread | | | Date | Thu, 11 Mar 2021 08:37:32 +0100 | From | Christoph Hellwig <> | Subject | module refcount issues in the liquidio driver |
| |
Hi all,
I just stumbled over the odd handling of module refcounts in the liquidio driver. The big red flag is the call to module_refcount in liquidio_watchdog, which will do the wrong thing for any external module refcount, like a userspace open.
But more importantly the whole concept of acquiring module refcounts from inside the driver is pretty bogus. What problem does this try to solve?
| |