diff options
author | Guillaume Nault <gnault@redhat.com> | 2022-04-08 22:08:50 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-11 17:38:02 -0700 |
commit | 9f6982e9a3c26a9db226cefd91c21a3e325ca397 (patch) | |
tree | 80fcb3bc257874c018a5bdf09437342e503de7fc /net/unix/af_unix.c | |
parent | 046eabbf1991c65d50d1d842f1a3011b53ca9b0a (diff) |
net: marvell: prestera: Use dscp_t in struct prestera_kern_fib_cache
Use the new dscp_t type to replace the kern_tos field of struct
prestera_kern_fib_cache. 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: Yevhen Orlov <yevhen.orlov@plvision.eu>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions