]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ipv4-convert-several-tos-fields-to-dscp_t'
authorJakub Kicinski <kuba@kernel.org>
Tue, 12 Apr 2022 00:38:02 +0000 (17:38 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Apr 2022 00:38:03 +0000 (17:38 -0700)
commite8cc4aa2b3396d397c1d36c641d5a1a53085f39a
tree80fcb3bc257874c018a5bdf09437342e503de7fc
parent6e7696b8a7c0828a708246cb68c053521eb60b9c
parentd809633caaeef18def7a891044eca2eaa65f8311
Merge branch 'ipv4-convert-several-tos-fields-to-dscp_t'

Guillaume Nault says:

====================
ipv4: Convert several tos fields to dscp_t

Continue the work started with commit 25099413b448 ("ipv6: Define
dscp_t and stop taking ECN bits into account in fib6-rules") and
convert more structure fields and variables to dscp_t. This series
focuses on struct fib_rt_info, struct fib_entry_notifier_info and their
users (networking drivers).

The purpose of dscp_t is to ensure that ECN bits don't influence IP
route lookups. It does so by ensuring that dscp_t variables have the
ECN bits cleared.

Notes:
  * This series is entirely about type annotation and isn't supposed
to have any user visible effect.

  * The first two patches have to introduce a few dsfield <-> dscp
conversions in the affected drivers, but those are then removed when
converting the internal driver structures (patches 3-5). In the end,
drivers don't have to handle any conversion.
====================

Link: https://lore.kernel.org/r/cover.1649445279.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>