commit | fe92ca45a170cb8d09c163db23d46634110b3c2f | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Sat Mar 29 10:43:03 2014 +0000 |
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | Wed Apr 02 21:29:45 2014 +0200 |
tree | 0042776b9e533ad2e0cf2c1b63a46d68e4e35d23 | |
parent | d2caa696addd70e686a05b3360c40cb40b106286 [diff] |
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>