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
| ||
|
Message-ID: <20190504024511.314c580d@cakuba.netronome.com> Date: Sat, 4 May 2019 02:45:11 -0400 From: Jakub Kicinski <jakub.kicinski@...ronome.com> To: Jiri Pirko <jiri@...nulli.us> Cc: netdev@...r.kernel.org, davem@...emloft.net, mlxsw@...lanox.com Subject: Re: [patch net-next] devlink: add warning in case driver does not set port type On Fri, 3 May 2019 13:31:53 +0200, Jiri Pirko wrote: > From: Jiri Pirko <jiri@...lanox.com> > > Prevent misbehavior of drivers who would not set port type for longer > period of time. Drivers should always set port type. Do WARN if that > happens. > > Note that it is perfectly fine to temporarily not have the type set, > during initialization and port type change. > > Signed-off-by: Jiri Pirko <jiri@...lanox.com> Looks useful and I have no better idea on how to implement it, so: Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Powered by blists - more mailing lists