[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191107203859.0f98cf83@hermes.lan>
Date: Thu, 7 Nov 2019 20:38:59 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: dsahern@...il.com, oss-drivers@...ronome.com,
netdev@...r.kernel.org, Jiri Pirko <jiri@...lanox.com>,
Arkadi Sharshevsky <arkadis@...lanox.com>
Subject: Re: [PATCH iproute2] devlink: require resource parameters
On Tue, 5 Nov 2019 13:13:36 -0800
Jakub Kicinski <jakub.kicinski@...ronome.com> wrote:
> If devlink resource set parameters are not provided it crashes:
> $ devlink resource set netdevsim/netdevsim0
> Segmentation fault (core dumped)
>
> This is because even though DL_OPT_RESOURCE_PATH and
> DL_OPT_RESOURCE_SIZE are passed as o_required, the validation
> table doesn't contain a relevant string.
>
> Fixes: 8cd644095842 ("devlink: Add support for devlink resource abstraction")
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Applied
Powered by blists - more mailing lists