]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e36113dd06c49716480b16996eea3fd5ec8d7e2
tree1bdd5befe696c687842e910470dd3f4b4f8d29ca
parent8c2f69488cacef24c5e3bab2c56135b44e8299d9
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