diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-26 16:48:40 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-02-26 16:48:40 (GMT) |
commit | a49c65037146bfb2fe300b8277b10b4479fea5fc (patch) | |
tree | 3007e26205ca186f3122948efbb402d316253966 /net/core/pktgen.c | |
parent | 51f0bc78680edccb6574ef56bd32f9e2939c8a5a (diff) | |
download | linux-fsl-qoriq-a49c65037146bfb2fe300b8277b10b4479fea5fc.tar.xz |
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>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions