From: Patrick McHardy Date: Thu, 9 Jan 2014 18:42:34 +0000 (+0000) Subject: netfilter: nf_tables: fix chain type module reference handling X-Git-Tag: v3.14-rc1~94^2~245^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baae3e62f31618d90e08fb886b4481e5d7b7f27c;p=pandora-kernel.git netfilter: nf_tables: fix chain type module reference handling The chain type module reference handling makes no sense at all: we take a reference immediately when the module is registered, preventing the module from ever being unloaded. Fix by taking a reference when we're actually creating a chain of the chain type and release the reference when destroying the chain. Signed-off-by: Patrick McHardy Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed