diff options
author | Guillaume Nault <gnault@redhat.com> | 2022-04-08 22:08:43 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-11 17:37:58 -0700 |
commit | 20bbf32efe1e3b937e7d3a53604dd643b686af3c (patch) | |
tree | d81d4e8678392060c900ac38d426d8a1385d5370 /net/unix/af_unix.c | |
parent | 568a3f33b4273833f1b1e4a39d4a3410c4770c32 (diff) |
netdevsim: Use dscp_t in struct nsim_fib4_rt
Use the new dscp_t type to replace the tos field of struct
nsim_fib4_rt. This ensures ECN bits are ignored and makes it compatible
with the dscp fields of struct fib_entry_notifier_info and struct
fib_rt_info.
This also allows sparse to flag potential incorrect uses of DSCP and
ECN bits.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions