[NETFILTER]: nfnetlink_log: fix module reference counting
authorPatrick McHardy <kaber@trash.net>
Sun, 4 Mar 2007 23:59:45 +0000 (15:59 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 5 Mar 2007 21:25:25 +0000 (13:25 -0800)
commit7d90e86d31e8beeb66d6754aece890ac4a579887
tree8f921e7250fd1e6d9abde9ab48d36164661f97bd
parentdd16704eba171b32ef0cded3a4f562b33b911066
[NETFILTER]: nfnetlink_log: fix module reference counting

Count module references correctly: after instance_destroy() there
might be timer pending and holding a reference for this netlink instance.

Based on patch by Michal Miroslaw <mirq-linux@rere.qmqm.pl>

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_log.c