]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'ipv4-ensure-ecn-bits-don-t-influence-source-address-validation'
authorJakub Kicinski <kuba@kernel.org>
Tue, 19 Jan 2021 21:54:32 +0000 (13:54 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jan 2021 21:54:33 +0000 (13:54 -0800)
Guillaume Nault says:

====================
ipv4: Ensure ECN bits don't influence source address validation

Functions that end up calling fib_table_lookup() should clear the ECN
bits from the TOS, otherwise ECT(0) and ECT(1) packets can be treated
differently.

Most functions already clear the ECN bits, but there are a few cases
where this is not done. This series only fixes the ones related to
source address validation.
====================

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

Trivial merge