netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] ipv4: Convert __fib_validate_source() and its callers to dscp_t.
@ 2024-10-07 18:24 Guillaume Nault
  2024-10-07 18:24 ` [PATCH net-next 1/7] ipv4: Convert ip_route_use_hint() " Guillaume Nault
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Guillaume Nault @ 2024-10-07 18:24 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Paolo Abeni, Eric Dumazet
  Cc: netdev, David Ahern, Willem de Bruijn

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(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-10-10  0:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 18:24 [PATCH net-next 0/7] ipv4: Convert __fib_validate_source() and its callers to dscp_t Guillaume Nault
2024-10-07 18:24 ` [PATCH net-next 1/7] ipv4: Convert ip_route_use_hint() " Guillaume Nault
2024-10-07 18:24 ` [PATCH net-next 2/7] ipv4: Convert ip_mkroute_input() " Guillaume Nault
2024-10-07 18:24 ` [PATCH net-next 3/7] ipv4: Convert __mkroute_input() " Guillaume Nault
2024-10-07 18:24 ` [PATCH net-next 4/7] ipv4: Convert ip_route_input_mc() " Guillaume Nault
2024-10-07 18:24 ` [PATCH net-next 5/7] ipv4: Convert ip_mc_validate_source() " Guillaume Nault
2024-10-07 18:25 ` [PATCH net-next 6/7] ipv4: Convert fib_validate_source() " Guillaume Nault
2024-10-07 18:25 ` [PATCH net-next 7/7] ipv4: Convert __fib_validate_source() " Guillaume Nault
2024-10-08  8:37 ` [PATCH net-next 0/7] ipv4: Convert __fib_validate_source() and its callers " Ido Schimmel
2024-10-08 14:50 ` David Ahern
2024-10-10  0:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).