diff options
author | Florian Westphal <fw@strlen.de> | 2016-04-01 15:37:59 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-07-10 23:07:37 -0400 |
commit | b7aa372fec2c1d4a1fcf4398ae88ba94134b9522 (patch) | |
tree | ae6c08d84a0155819fe4745abc9324ce2f1c9c58 /init/main.c | |
parent | af815d264b7ed1cdceb0e1fdf4fa7d3bd5fe9a99 (diff) | |
download | linux-stable-b7aa372fec2c1d4a1fcf4398ae88ba94134b9522.tar.gz linux-stable-b7aa372fec2c1d4a1fcf4398ae88ba94134b9522.tar.bz2 linux-stable-b7aa372fec2c1d4a1fcf4398ae88ba94134b9522.zip |
netfilter: x_tables: introduce and use xt_copy_counters_from_user
[ Upstream commit d7591f0c41ce3e67600a982bab6989ef0f07b3ce ]
The three variants use same copy&pasted code, condense this into a
helper and use that.
Make sure info.name is 0-terminated.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions