From: David Miller <davem@davemloft.net>
To: jiri@resnulli.us
Cc: netdev@vger.kernel.org, idosch@mellanox.com,
jakub.kicinski@netronome.com, dsahern@gmail.com,
mlxsw@mellanox.com
Subject: Re: [patch net] devlink: convert occ_get op to separate registration
Date: Sun, 08 Apr 2018 12:46:31 -0400 (EDT) [thread overview]
Message-ID: <20180408.124631.1972105251266332914.davem@davemloft.net> (raw)
In-Reply-To: <20180405201321.16626-1-jiri@resnulli.us>
From: Jiri Pirko <jiri@resnulli.us>
Date: Thu, 5 Apr 2018 22:13:21 +0200
> From: Jiri Pirko <jiri@mellanox.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@mellanox.com>
Applied and queued up for -stable, thanks.
next prev parent reply other threads:[~2018-04-08 16:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-05 20:13 [patch net] devlink: convert occ_get op to separate registration Jiri Pirko
2018-04-05 20:55 ` David Ahern
2018-04-05 20:58 ` David Ahern
2018-04-05 21:17 ` Jiri Pirko
2018-04-08 16:46 ` David Miller [this message]
2018-04-10 13:49 ` Sasha Levin
2018-04-10 14:13 ` Jiri Pirko
2018-04-10 14:36 ` David Miller
2018-04-10 14:35 ` David Miller
2018-04-10 19:08 ` Sasha Levin
2018-04-10 19:22 ` David Miller
2018-04-10 20:43 ` Sasha Levin
2018-04-11 8:46 ` gregkh
2018-04-11 20:04 ` Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180408.124631.1972105251266332914.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=idosch@mellanox.com \
--cc=jakub.kicinski@netronome.com \
--cc=jiri@resnulli.us \
--cc=mlxsw@mellanox.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).