commit | e917563612e5d8ad3a80efa5f43e654be50fe82f | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Fri Apr 01 15:37:59 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 24 10:18:24 2016 -0700 |
tree | 89453081a3c700bf0a2cd6c79a031e84f2d1e233 | |
parent | d69f93d059c6294322bb91f9aaff796a21c3aa20 [diff] |
netfilter: x_tables: introduce and use xt_copy_counters_from_user commit d7591f0c41ce3e67600a982bab6989ef0f07b3ce upstream. 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>