Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Parav Pandit <parav@mellanox.com>
To: netdev@vger.kernel.org, kuba@kernel.org, davem@davemloft.net
Cc: Parav Pandit <parav@nvidia.com>
Subject: [PATCH net-next 0/2] devlink fixes for port and reporter field access
Date: Fri, 21 Aug 2020 22:12:19 +0300	[thread overview]
Message-ID: <20200821191221.82522-1-parav@mellanox.com> (raw)

From: Parav Pandit <parav@nvidia.com>

Hi Dave,

These series contains two small fixes of devlink.

Patch-1 initializes port reporter fields early enough to
avoid access before initialized error.
Patch-2 protects port list lock during traversal.

Parav Pandit (2):
  devlink: Fix per port reporter fields initialization
  devlink: Protect devlink port list traversal

 net/core/devlink.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
2.26.2


             reply	other threads:[~2020-08-21 19:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21 19:12 Parav Pandit [this message]
2020-08-21 19:12 ` [PATCH net-next 1/2] devlink: Fix per port reporter fields initialization Parav Pandit
2020-08-21 19:12 ` [PATCH net-next 2/2] devlink: Protect devlink port list traversal Parav Pandit
2020-08-24 20:48 ` [PATCH net-next 0/2] devlink fixes for port and reporter field access Jakub Kicinski
2020-08-25 20:10   ` Parav Pandit
2020-08-24 23:03 ` David Miller

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=20200821191221.82522-1-parav@mellanox.com \
    --to=parav@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=parav@nvidia.com \
    --subject='Re: [PATCH net-next 0/2] devlink fixes for port and reporter field access' \
    /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

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).