]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-ipv4-allow-directed-broadcast-routes-to-use-dst-hint'
authorJakub Kicinski <kuba@kernel.org>
Mon, 25 Aug 2025 23:07:17 +0000 (16:07 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 25 Aug 2025 23:07:18 +0000 (16:07 -0700)
commit3ad9655422733e0ba67512b3ddce638aee31c0c7
tree03b315f3a1d527999091172e6a17b51175b9ef00
parent7f052126ff38f497cc8721f0b0e99aa201cd5a7f
parentbd0d9e751b9beaaefb1cff012f41dc2098a932e3
Merge branch 'net-ipv4-allow-directed-broadcast-routes-to-use-dst-hint'

Oscar Maes says:

====================
net: ipv4: allow directed broadcast routes to use dst hint

Currently, ip_extract_route_hint uses RTN_BROADCAST to decide
whether to use the route dst hint mechanism.

This check is too strict, as it prevents directed broadcast
routes from using the hint, resulting in poor performance
during bursts of directed broadcast traffic.

This series fixes this, and adds a new selftest to ensure
this does not regress.

Link to v2: https://lore.kernel.org/20250814140309.3742-1-oscmaes92@gmail.com
====================

Link: https://patch.msgid.link/20250819174642.5148-1-oscmaes92@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>