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: <20250904085241.3bd40e33@kernel.org>
Date: Thu, 4 Sep 2025 08:52:41 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: ALOK TIWARI <alok.a.tiwari@...cle.com>
Cc: Simon Horman <horms@...nel.org>, dsahern@...nel.org,
 davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
 netdev@...r.kernel.org
Subject: Re: [External] : Re: [PATCH net-next] udp_tunnel: Fix typo using
 netdev_WARN instead of netdev_warn

On Thu, 4 Sep 2025 20:11:36 +0530 ALOK TIWARI wrote:
> In this case, udp_tunnel_nic_register() returning an error is
> just a failed operation, not a kernel bug. So a simple warning
> message is appropriate, and netdev_warn() should be used
> instead of netdev_WARN().

The distinction should be that WARN is only used in cases which
author of the code expects never to occur.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ