Re: [PATCH] nfnetlink_log: fix silly refcount leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexey Dobriyan wrote:
> Quick fix for memory/module refcount leak.
> Reference count of listener instance never reaches 0.
> 
> Start/stop of ulogd2 is enough to trigger this bug!
> 
> Now, refcounting there looks very fishy in particular this code:
> 
>  	if (!try_module_get(THIS_MODULE)) {
> 		...
> 
> and creation of listener instance with refcount 2,
> so it may very well be ripped and redone. :-)

Applied, thanks Alexey.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux