From: Alexey Dobriyan Date: Fri, 26 Feb 2010 16:48:40 +0000 (+0100) Subject: netfilter: nfnetlink_log: fix silly refcount leak X-Git-Tag: v2.6.34-rc1~233^2~51^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a49c65037146bfb2fe300b8277b10b4479fea5fc;p=pandora-kernel.git 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 Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed