ipv4: Prepare core ipv4 files to future .flowi4_tos conversion.
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
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ipv4: Prepare fib_compute_spec_dst() to future .flowi4_tos conversion.net/ | +1 | 1 reply | Applied |
| 2/4 | ipv4: Prepare icmp_reply() to future .flowi4_tos conversion.net/ | +1 | 1 reply | Applied |
| 3/4 | ipv4: Prepare ipmr_rt_fib_lookup() to future .flowi4_tos conversion.net/ | +1 | 1 reply | Applied |
| 4/4 | ipv4: Prepare ip_rt_get_source() to future .flowi4_tos conversion.net/ | +1 | 1 reply | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Ido Schimmel |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/4] ipv4: Prepare core ipv4 files to future .flowi4_tos conversion.
Continue preparing users of ->flowi4_tos (struct flowi4) to the future conversion of this field (from __u8 to dscp_t). The objective is to have type annotation to properly separate DSCP bits from ECN ones. This way we'll ensure that ECN doesn't interfere with DSCP and avoid regressions where it break routing descisions (fib rules in particular).
This series concentrates on some easy IPv4 conversions where ->flowi4_tos is set directly from an IPv4 header, so we can get the DSCP value using the ip4h_dscp() helper function.
Guillaume Nault (4):
ipv4: Prepare fib_compute_spec_dst() to future .flowi4_tos conversion.
ipv4: Prepare icmp_reply() to future .flowi4_tos conversion.
ipv4: Prepare ipmr_rt_fib_lookup() to future .flowi4_tos conversion.
ipv4: Prepare ip_rt_get_source() to future .flowi4_tos conversion.
net/ipv4/fib_frontend.c | 2 +- net/ipv4/icmp.c | 2 +- net/ipv4/ipmr.c | 2 +- net/ipv4/route.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.39.2