commit | 77aec5e1c4935e37c8cbb818a69f2f7d3433ede5 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavoars@kernel.org> | Thu Jul 30 11:03:14 2020 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 31 16:50:39 2020 -0700 |
tree | ce397cf506a6bb4ca8dd484f87196a2514ca8de3 | |
parent | 26b4b2d99c3a0abe7b6ff4969f48afdda0931573 [diff] |
net/sched: cls_u32: Use struct_size() helper Make use of the struct_size() helper, in multiple places, instead of an open-coded version in order to avoid any potential type mistakes and protect against potential integer overflows. Also, remove unnecessary object identifier size. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>