diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-30 11:03:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-31 16:50:39 -0700 |
commit | 77aec5e1c4935e37c8cbb818a69f2f7d3433ede5 (patch) | |
tree | ce397cf506a6bb4ca8dd484f87196a2514ca8de3 /net/dccp | |
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>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions