]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_ct: split nft_ct_init() into two functions for get/set
authorPatrick McHardy <kaber@trash.net>
Sat, 29 Mar 2014 10:43:03 +0000 (10:43 +0000)
committerPablo Neira Ayuso <pablo@gnumonks.org>
Wed, 2 Apr 2014 19:29:45 +0000 (21:29 +0200)
commit8cc810f5df9e13f282a076333e6319130421bd29
tree0042776b9e533ad2e0cf2c1b63a46d68e4e35d23
parent5e5607845335d5f96adedfeace0b1db3971e9db9
netfilter: nft_ct: split nft_ct_init() into two functions for get/set

For value spanning multiple registers, we need to validate the length
of data loads. In order to add this to nft_ct, we need the length from
key validation. Split the nft_ct_init() function into two functions
for the get and set operations as preparation for that.

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