diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-09-28 22:06:47 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-10-22 14:05:48 +0200 |
commit | 241eb3f3ee42f6639b31f6e69e7b6ea845e2d182 (patch) | |
tree | 3551fce84d344f10617a78010f079c23f8781dc5 /Kbuild | |
parent | Merge branch 'ax88796c-spi-ethernet-adapter' (diff) | |
download | linux-241eb3f3ee42f6639b31f6e69e7b6ea845e2d182.tar.xz 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 'Kbuild')
0 files changed, 0 insertions, 0 deletions