netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* module refcount issues in the liquidio driver
@ 2021-03-11  7:37 Christoph Hellwig
  2021-03-11 17:43 ` [EXT] " Felix Manlunas
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2021-03-11  7:37 UTC (permalink / raw)
  To: Felix Manlunas, Derek Chickles, Satanand Burla; +Cc: netdev, linux-kernel

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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-11 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-11  7:37 module refcount issues in the liquidio driver Christoph Hellwig
2021-03-11 17:43 ` [EXT] " Felix Manlunas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).