From: Matt Johnston <matt@codeconstruct.com.au>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Jeremy Kerr <jk@codeconstruct.com.au>
Subject: [PATCH net-next v3 0/2] mctp: Fix incorrect refs for extended addr
Date: Tue, 22 Feb 2022 12:17:37 +0800 [thread overview]
Message-ID: <20220222041739.511255-1-matt@codeconstruct.com.au> (raw)
This fixes an incorrect netdev unref and also addresses the race
condition identified by Jakub in v2. Thanks for the review.
Cheers,
Matt
Matt Johnston (2):
mctp: make __mctp_dev_get() take a refcount hold
mctp: Fix incorrect netdev unref for extended addr
net/mctp/device.c | 21 ++++++++++++++++++---
net/mctp/route.c | 13 ++++++-------
net/mctp/test/utils.c | 1 -
3 files changed, 24 insertions(+), 11 deletions(-)
--
2.32.0
next reply other threads:[~2022-02-22 4:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 4:17 Matt Johnston [this message]
2022-02-22 4:17 ` [PATCH net-next v3 1/2] mctp: make __mctp_dev_get() take a refcount hold Matt Johnston
2022-02-23 3:59 ` Jakub Kicinski
2022-02-23 4:22 ` Jeremy Kerr
2022-02-22 4:17 ` [PATCH net-next v3 2/2] mctp: Fix incorrect netdev unref for extended addr Matt Johnston
2022-02-23 12:30 ` [PATCH net-next v3 0/2] mctp: Fix incorrect refs " patchwork-bot+netdevbpf
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=20220222041739.511255-1-matt@codeconstruct.com.au \
--to=matt@codeconstruct.com.au \
--cc=davem@davemloft.net \
--cc=jk@codeconstruct.com.au \
--cc=kuba@kernel.org \
--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).