aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_ct.c
diff options
context:
space:
mode:
authorLiping Zhang <liping.zhang@spreadtrum.com>2016-07-23 16:00:31 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2016-07-23 12:22:07 +0200
commit2bf4fade54de995f84d319ae02003609dca450f3 (patch)
tree024cb3652c7f57ae1dc8ef1df2333a2d4a2c581d /net/netfilter/nft_ct.c
parentnetfilter: h323: Use mod_timer instead of set_expect_timeout (diff)
downloadlinux-dev-2bf4fade54de995f84d319ae02003609dca450f3.tar.xz
linux-dev-2bf4fade54de995f84d319ae02003609dca450f3.zip
netfilter: nft_compat: put back match/target module if init fail
If the user specify the invalid NFTA_MATCH_INFO/NFTA_TARGET_INFO attr or memory alloc fail, we should call module_put to the related match or target. Otherwise, we cannot remove the module even nobody use it. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_ct.c')
0 files changed, 0 insertions, 0 deletions