Skip to content

ipv4: Convert __fib_validate_source() and its callers to dscp_t.

Guillaume Nault netdev 1 version Applied

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

  1. v1 Latest7 patches 2 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7ipv4: Convert ip_route_use_hint() to dscp_t.include/net/route.h net/ipv4/ip_input.c net/ipv4/route.c+7 -70 repliesApplied
2/7ipv4: Convert ip_mkroute_input() to dscp_t.net/ipv4/route.c+6 -80 repliesApplied
3/7ipv4: Convert __mkroute_input() to dscp_t.net/ipv4/route.c+6 -80 repliesApplied
4/7ipv4: Convert ip_route_input_mc() to dscp_t.net/ipv4/route.c+6 -50 repliesApplied
5/7ipv4: Convert ip_mc_validate_source() to dscp_t.include/net/route.h net/ipv4/route.c net/ipv4/udp.c+8 -70 repliesApplied
6/7ipv4: Convert fib_validate_source() to dscp_t.include/net/ip_fib.h net/ipv4/fib_frontend.c net/ipv4/route.c+14 -150 repliesApplied
7/7ipv4: Convert __fib_validate_source() to dscp_t.net/ipv4/fib_frontend.c+4 -40 repliesApplied

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIdo SchimmelDavid Ahern
SeriesR-b T-b R-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/7] ipv4: Convert __fib_validate_source() and its callers to dscp_t.

This patch series continues to prepare users of ->flowi4_tos to a future conversion of this field (__u8 to dscp_t). This time, we convert __fib_validate_source() and its call chain.

The objective is to eventually make all users of ->flowi4_tos use a dscp_t value. Making ->flowi4_tos a dscp_t field will help avoiding regressions where ECN bits are erroneously interpreted as DSCP bits.

Guillaume Nault (7):
ipv4: Convert ip_route_use_hint() to dscp_t.
ipv4: Convert ip_mkroute_input() to dscp_t.
ipv4: Convert __mkroute_input() to dscp_t.
ipv4: Convert ip_route_input_mc() to dscp_t.
ipv4: Convert ip_mc_validate_source() to dscp_t.
ipv4: Convert fib_validate_source() to dscp_t.
ipv4: Convert __fib_validate_source() to dscp_t.

 include/net/ip_fib.h    |  3 ++-
 include/net/route.h     |  7 +++---
 net/ipv4/fib_frontend.c |  9 +++----
 net/ipv4/ip_input.c     |  4 ++--
 net/ipv4/route.c        | 52 ++++++++++++++++++-----------------------
 net/ipv4/udp.c          |  4 ++--
 6 files changed, 38 insertions(+), 41 deletions(-)
Signature · 1 line
2.39.2