Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: bridge: Use array_size() helper in copy_to_user()
[ Upstream commit 865bfb2 ] Use array_size() helper instead of the open-coded version in copy_to_user(). These sorts of multiplication factors need to be wrapped in array_size(). Link: KSPP/linux#160 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information