lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1729530028.git.gnault@redhat.com>
Date: Tue, 22 Oct 2024 11:47:52 +0200
From: Guillaume Nault <gnault@...hat.com>
To: David Miller <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>, Eric Dumazet <edumazet@...gle.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...nel.org>,
	Ido Schimmel <idosch@...dia.com>
Subject: [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(-)

-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ