[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180408.124631.1972105251266332914.davem@davemloft.net>
Date: Sun, 08 Apr 2018 12:46:31 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, idosch@...lanox.com,
jakub.kicinski@...ronome.com, dsahern@...il.com, mlxsw@...lanox.com
Subject: Re: [patch net] devlink: convert occ_get op to separate
registration
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 5 Apr 2018 22:13:21 +0200
> From: Jiri Pirko <jiri@...lanox.com>
>
> This resolves race during initialization where the resources with
> ops are registered before driver and the structures used by occ_get
> op is initialized. So keep occ_get callbacks registered only when
> all structs are initialized.
...
> Fixes: d9f9b9a4d05f ("devlink: Add support for resource abstraction")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists