diff options
| author | Oscar Maes <oscmaes92@gmail.com> | 2025-08-19 19:46:41 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-25 16:07:16 -0700 |
| commit | 1b8c5fa0cb35efd08f07f700e6d78a541ebabe26 (patch) | |
| tree | 3b416d8a33866737129c2f2fc5773d073347468d /tools/perf/scripts/python/sched-migration.py | |
| parent | 7f052126ff38f497cc8721f0b0e99aa201cd5a7f (diff) | |
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.
Fix this in ip_extract_route_hint and modify ip_route_use_hint
to preserve the intended behaviour.
Signed-off-by: Oscar Maes <oscmaes92@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250819174642.5148-2-oscmaes92@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
