]> 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)
commit1b87051aaf7b82c5d40afe307b09262c7e78b540
tree80fcb3bc257874c018a5bdf09437342e503de7fc
parent56d4d0c3a04eecc22286ace90d1a4c47f72e4195
parentafc5aa96766acb570d215cec1503c361a8a7df1f
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 cb25d43822fe ("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>