ip6tables: use match, target and data copy_to_user helpers
authorWillem de Bruijn <willemb@google.com>
Mon, 2 Jan 2017 22:19:42 +0000 (17:19 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 9 Jan 2017 16:24:54 +0000 (17:24 +0100)
commite47ddb2c4691fd2bd8d25745ecb6848408899757
tree1bdd5befe696c687842e910470dd3f4b4f8d29ca
parentf77bc5b23fb1af51fc0faa8a479dea8969eb5079
ip6tables: use match, target and data copy_to_user helpers

Convert ip6tables to copying entries, matches and targets one by one,
using the xt_match_to_user and xt_target_to_user helper functions.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/ip6_tables.c