Thread (11 messages) 11 messages, 3 authors, 2022-08-26

RE: [iproute2-next v3 3/3] devlink: add dry run attribute support to devlink flash

From: "Keller, Jacob E" <jacob.e.keller@intel.com>
Date: 2022-07-25 21:27:22
Also in: linux-doc

-----Original Message-----
From: Stephen Hemminger <stephen@networkplumber.org>
Sent: Monday, July 25, 2022 2:13 PM
To: Keller, Jacob E <jacob.e.keller@intel.com>
Cc: netdev@vger.kernel.org; Jonathan Corbet <corbet@lwn.net>; Jiri Pirko
[off-list ref]; David S. Miller [off-list ref]; Eric Dumazet
[off-list ref]; Jakub Kicinski [off-list ref]; Paolo Abeni
[off-list ref]; Nguyen, Anthony L [off-list ref];
David Ahern [off-list ref]; linux-doc@vger.kernel.org
Subject: Re: [iproute2-next v3 3/3] devlink: add dry run attribute support to
devlink flash

On Mon, 25 Jul 2022 13:56:50 -0700
Jacob Keller [off-list ref] wrote:
quoted
To avoid potential issues, only allow the attribute to be added to
commands when the kernel recognizes it. This is important because some
commands do not perform strict validation. If we were to add the
attribute without this check, an old kernel may silently accept the
command and perform an update even when dry_run was requested.
Sigh. Looks like the old kernels are buggy. The workaround in userspace
is also likely to be source of bugs.
There is also further discussion going on around this topic at https://lore.kernel.org/netdev/SA2PR11MB510047D98AFFDEE572B375E0D6959@SA2PR11MB5100.namprd11.prod.outlook.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help