mbox series

[net-next,0/4] ipv4: Prepare core ipv4 files to future .flowi4_tos conversion.

Message ID cover.1729530028.git.gnault@redhat.com (mailing list archive)
Headers show
Series ipv4: Prepare core ipv4 files to future .flowi4_tos conversion. | expand

Message

Guillaume Nault Oct. 22, 2024, 9:47 a.m. UTC
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(-)