Alexey Dobriyan a49c650371 netfilter: nfnetlink_log: fix silly refcount leak
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.  :-)

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-26 17:48:40 +01:00
..
2010-02-10 12:31:10 -08:00
2009-11-25 15:14:13 -08:00
2009-12-26 20:38:23 -08:00
2010-02-10 12:31:10 -08:00
2009-12-15 08:53:25 -08:00
2010-01-17 19:16:02 -08:00
2009-11-25 15:14:13 -08:00
2010-02-17 00:03:27 -08:00
2010-01-19 14:23:57 -08:00
2010-01-17 19:16:02 -08:00
2009-07-12 12:22:34 -07:00
2009-12-17 10:51:40 -05:00