From: Andrew Stellman <bugs@stellman-greene.com>
To: Jeremy Kerr <jk@codeconstruct.com.au>,
Matt Johnston <matt@codeconstruct.com.au>
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH net v2 0/2] net: mctp: avoid a zero-refcount socket hold
Date: Fri, 4 Dec 2026 13:42:56 -0500 [thread overview]
Message-ID: <20261204184258.70828-1-bugs@stellman-greene.com> (raw)
From: Andrew Stellman <astellman@stellman-greene.com>
This v2 adds the KUnit case Jeremy Kerr requested. The code in 1/2 is
unchanged from v1 and has his Reviewed-by.
---
v1: https://lore.kernel.org/netdev/20261202164958.49945-1-bugs@stellman-greene.com/
Andrew Stellman (2):
net: mctp: don't hold a zero-refcount socket in mctp_key_alloc()
net: mctp: test route input with a zero-refcount socket
net/mctp/route.c | 5 ++++-
net/mctp/test/route-test.c | 30 ++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
--
2.53.0
next reply other threads:[~2026-12-04 18:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 18:42 Andrew Stellman [this message]
2026-12-04 18:42 ` [PATCH net v2 1/2] net: mctp: don't hold a zero-refcount socket in mctp_key_alloc() Andrew Stellman
2026-12-04 18:42 ` [PATCH net v2 2/2] net: mctp: test route input with a zero-refcount socket Andrew Stellman
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=20261204184258.70828-1-bugs@stellman-greene.com \
--to=bugs@stellman-greene.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=jk@codeconstruct.com.au \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@codeconstruct.com.au \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/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