summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2022-04-08 22:08:46 +0200
committerJakub Kicinski <kuba@kernel.org>2022-04-11 17:38:01 -0700
commit046eabbf1991c65d50d1d842f1a3011b53ca9b0a (patch)
tree4845e2991eeefaf7e194119630020c46bf1b9de7 /net/unix/af_unix.c
parent20bbf32efe1e3b937e7d3a53604dd643b686af3c (diff)
mlxsw: Use dscp_t in struct mlxsw_sp_fib4_entry
Use the new dscp_t type to replace the tos field of struct mlxsw_sp_fib4_entry. This ensures ECN bits are ignored and makes it compatible with the dscp fields of fib_entry_notifier_info and 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> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions