netfilter: ctnetlink: get rid of module refcounting in ctnetlink
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Nov 2008 15:00:40 +0000 (16:00 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 17 Nov 2008 15:00:40 +0000 (16:00 +0100)
commit528a3a6f67d4fbe708b9f306be194e78b29e8d7a
tree7699b945859a1c2f2457687aabbd6aefea24b7a3
parentbfe2967735e0e0f650bf698a5683db2b6cf4cfd7
netfilter: ctnetlink: get rid of module refcounting in ctnetlink

This patch replaces the unnecessary module refcounting with
the read-side locks. With this patch, all the dump and fill_info
function are called under the RCU read lock.

Based on a patch from Fabian Hugelshofer.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_netlink.c