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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ad578caf-73d1-4f87-984c-63d6f2ea262e@kernel.org>
Date: Mon, 15 Sep 2025 09:41:45 -0600
From: David Ahern <dsahern@...nel.org>
To: Antoine Tenart <atenart@...nel.org>, davem@...emloft.net,
 kuba@...nel.org, pabeni@...hat.com, edumazet@...gle.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] net: ipv4: make udp_v4_early_demux
 explicitly return drop reason

On 9/15/25 3:19 AM, Antoine Tenart wrote:
> udp_v4_early_demux already returns drop reasons as it either returns 0
> or ip_mc_validate_source, which itself returns drop reasons. Its return
> value is also already used as a drop reason itself.
> 
> Makes this explicit by making it return drop reasons.
> 
> Signed-off-by: Antoine Tenart <atenart@...nel.org>
> ---
>  include/net/udp.h   |  2 +-
>  net/ipv4/ip_input.c |  2 +-
>  net/ipv4/udp.c      | 12 ++++++------
>  3 files changed, 8 insertions(+), 8 deletions(-)
> 

Reviewed-by: David Ahern <dsahern@...nel.org>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ