diff options
author | Guillaume Nault <[email protected]> | 2022-02-04 14:58:19 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-02-07 20:12:46 -0800 |
commit | 32ccf1107980e8ed5c62cf6666da7a47a4fc7ecf (patch) | |
tree | 02229287b1b9ab91b42bde52ad5ff2f1eb69e6e2 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | f55fbb6afb8d701e3185e31e73f5ea9503a66744 (diff) |
ipv4: Use dscp_t in struct fib_alias
Use the new dscp_t type to replace the fa_tos field of fib_alias. This
ensures ECN bits are ignored and makes the field compatible with the
fc_dscp field of struct fib_config.
Converting old *tos variables and fields to dscp_t allows sparse to
flag incorrect uses of DSCP and ECN bits. This patch is entirely about
type annotation and shouldn't change any existing behaviour.
Signed-off-by: Guillaume Nault <[email protected]>
Acked-by: David Ahern <[email protected]>
Reviewed-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions