]> git.baikalelectronics.ru Git - kernel.git/commit
iptables: use match, target and data copy_to_user helpers
authorWillem de Bruijn <willemb@google.com>
Mon, 2 Jan 2017 22:19:41 +0000 (17:19 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 9 Jan 2017 16:24:53 +0000 (17:24 +0100)
commit8c2f69488cacef24c5e3bab2c56135b44e8299d9
treebe0bea6d3aa34fb6d265a8e8eead1a7deb87622a
parent72f915f0e06e0f9aca408693bc235d7f56cde3f7
iptables: use match, target and data copy_to_user helpers

Convert iptables 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/ipv4/netfilter/ip_tables.c