Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: KSPP#160 Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
- Loading branch information