Florian Westphal d7591f0c41 netfilter: x_tables: introduce and use xt_copy_counters_from_user
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>
2016-04-14 00:30:41 +02:00
..
2015-08-25 13:38:50 -07:00
2016-03-07 14:55:04 -05:00
2015-05-28 11:23:20 +08:00
2016-01-05 22:25:57 -05:00
2016-02-17 16:15:46 -05:00
2016-02-17 16:15:46 -05:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-10-21 07:00:53 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2012-03-11 23:42:51 -07:00
2016-04-07 16:53:30 -04:00
2014-05-23 16:28:53 -04:00
2015-09-17 17:18:37 -07:00
2013-05-31 17:19:05 -07:00