]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_CT: refactorize xt_ct_tg_check
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 28 Aug 2012 00:53:14 +0000 (00:53 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 3 Sep 2012 11:32:48 +0000 (13:32 +0200)
commitbedff9182c5fb6b7a739d925b956cf8966aedf68
tree89bbe58ab9299a508589775f8ad184223889af7c
parent61198a5895f7333e649f07b96dbc2944633014c1
netfilter: xt_CT: refactorize xt_ct_tg_check

This patch adds xt_ct_set_helper and xt_ct_set_timeout to reduce
the size of xt_ct_tg_check.

This aims to improve code mantainability by splitting xt_ct_tg_check
in smaller chunks.

Suggested by Eric Dumazet.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_CT.c