net: ipv4: allow directed broadcast routes to use dst hint
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyApplied 2/2
- v22 patches 4 repliesSuperseded
- v11 patch 1 replySuperseded
Changes in v3 from the cover letter
- Improved selftest
- Use ipv4_is_zeronet to check daddr
Patches in v3 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: ipv4: allow directed broadcast routes to use dst hintnet/ net/ | +8 | 1 reply | Applied |
| 2/2 | selftests: net: add test for dst hint mechanism with directed broadcast addressestools/ tools/ | +80 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v3 0/2] 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.
Changes in v3:
- Improved selftest
- Use ipv4_is_zeronet to check daddr
Changes in v2:
- Removed unused variable
- Fixed formatting
- Added new selftest
Link to v2: https://lore.kernel.org/netdev/[email protected]/
Oscar Maes (2):
net: ipv4: allow directed broadcast routes to use dst hint
selftests: net: add test for dst hint mechanism with directed
broadcast addresses
net/ipv4/ip_input.c | 11 ++-- net/ipv4/route.c | 2 +- tools/testing/selftests/net/Makefile | 1 + tools/testing/selftests/net/route_hint.sh | 79 +++++++++++++++++++++++ 4 files changed, 88 insertions(+), 5 deletions(-) create mode 100755 tools/testing/selftests/net/route_hint.sh
Signature · 1 line
2.39.5