diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-09-28 15:06:47 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-10-22 14:05:48 +0200 |
commit | 241eb3f3ee42f6639b31f6e69e7b6ea845e2d182 (patch) | |
tree | 3551fce84d344f10617a78010f079c23f8781dc5 /net/netfilter/nft_meta.c | |
parent | ab98bbee072c7c30c391ae742b209efebb468273 (diff) | |
download | linux-241eb3f3ee42f6639b31f6e69e7b6ea845e2d182.tar.gz linux-241eb3f3ee42f6639b31f6e69e7b6ea845e2d182.tar.bz2 linux-241eb3f3ee42f6639b31f6e69e7b6ea845e2d182.zip |
netfilter: ebtables: use array_size() helper in copy_{from,to}_user()
Use array_size() helper instead of the open-coded version in
copy_{from,to}_user(). These sorts of multiplication factors
need to be wrapped in array_size().
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_meta.c')
0 files changed, 0 insertions, 0 deletions