]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ipv4-handle-tos-and-scope-properly-for-icmp-redirects-and-pmtu-updates'
authorJakub Kicinski <kuba@kernel.org>
Fri, 18 Mar 2022 21:06:58 +0000 (14:06 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Mar 2022 21:06:59 +0000 (14:06 -0700)
commitdc4fbb743a1045bdbe42a0bb8cf458b5713b9fa1
treeed392f6ddd3fceed9b25794b834a743d34d547b0
parentc43719016912ba2b2fa0954e712a727a1d3f4cbb
parentaa70c8ff47063e69023fe8c7f3a869082535a620
Merge branch 'ipv4-handle-tos-and-scope-properly-for-icmp-redirects-and-pmtu-updates'

Guillaume Nault says:

====================
ipv4: Handle TOS and scope properly for ICMP redirects and PMTU updates

ICMPv4 PMTU and redirect handlers didn't properly initialise the
struct flowi4 they used for route lookups:

  * ECN bits sometimes weren't cleared from ->flowi4_tos.
  * The RTO_ONLINK flag wasn't taken into account for ->flowi4_scope.

In some special cases, this resulted in ICMP redirects and PMTU updates
not being taken into account because fib_lookup() couldn't retrieve the
correct route.
====================

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