diff options
author | Florian Westphal <fw@strlen.de> | 2016-04-01 15:37:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-24 10:22:06 -0700 |
commit | a5b62e5e2089996dc87189ea605f9f16e8920528 (patch) | |
tree | 60fffab1b514a75603c115640a2c9f2c6f2374eb /block | |
parent | 1eed4f80c35ff0284de952803f72d459b776b798 (diff) | |
download | lwn-a5b62e5e2089996dc87189ea605f9f16e8920528.tar.gz lwn-a5b62e5e2089996dc87189ea605f9f16e8920528.zip |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions