]> 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)
commit185b06bef5ae0707ae1042a0623d1ac0240cd8be
treebe0bea6d3aa34fb6d265a8e8eead1a7deb87622a
parent123246a701e247e2a420f772ff89c6ae8f0cb4e9
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