diff options
author | 2020-07-30 11:03:14 -0500 | |
---|---|---|
committer | 2020-07-31 16:50:39 -0700 | |
commit | 77aec5e1c4935e37c8cbb818a69f2f7d3433ede5 (patch) | |
tree | ce397cf506a6bb4ca8dd484f87196a2514ca8de3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qede: Use %pM format specifier for MAC addresses (diff) | |
download | wireguard-linux-77aec5e1c4935e37c8cbb818a69f2f7d3433ede5.tar.xz wireguard-linux-77aec5e1c4935e37c8cbb818a69f2f7d3433ede5.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions