From: Joseph Salisbury <joseph.salisbury@oracle.com>
To: LKML <linux-kernel@vger.kernel.org>,linux-rt-users
<linux-rt-users@vger.kernel.org>,Steven Rostedt
<rostedt@goodmis.org>,Thomas Gleixner
<tglx@linutronix.de>,Carsten Emde <C.Emde@osadl.org>,John Kacur
<jkacur@redhat.com>,Sebastian Andrzej Siewior
<bigeasy@linutronix.de>,Daniel Wagner
<daniel.wagner@suse.com>,Clark Williams
<williams@redhat.com>,Pavel Machek <pavel@denx.de>,Joseph
Salisbury <josephtsalisbury@gmail.com>
Subject: [ANNOUNCE] 5.15.201-rt93
Date: Fri, 13 Mar 2026 15:22:21 -0000 [thread overview]
Message-ID: <177341534116.914902.15835182269280039713@jupiter> (raw)
Hello RT-list!
I'm pleased to announce the 5.15.201-rt93 stable release.
This release contains a single new patch, which is an RT specific commit:
1adaea51c61b ("ipv6: fix a BUG in rt6_get_pcpu_route() under PREEMPT_RT")
New patch name:
0183-ipv6-fix-a-BUG-in-rt6_get_pcpu_route-under-PREEMPT_R.patch
You can get this release via the git tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
branch: v5.15-rt
Head SHA1: 3bd063531b598d0de0083b820901df5319a71769
Or to build 5.15.201-rt93 directly, the following patches should be applied:
https://www.kernel.org/pub/linux/kernel/projects/rt/5.15
https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.xz
https://www.kernel.org/pub/linux/kernel/v5.x/patch-5.15.201.xz
https://www.kernel.org/pub/linux/kernel/projects/rt/5.15/patch-5.15.201-rt93.patch.xz
Enjoy!
Joseph Salisbury
Changes from v5.15.201-rt92:
---
Jiayuan Chen (1):
ipv6: fix a BUG in rt6_get_pcpu_route() under PREEMPT_RT
Joseph Salisbury (1):
Linux 5.15.201-rt93
---
localversion-rt | 2 +-
net/ipv6/route.c | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/localversion-rt b/localversion-rt
index 4905d52a48284..e98a1fe050bde 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt92
+-rt93
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index f30a5b7d93f4d..3536192438cea 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1424,7 +1424,18 @@ static struct rt6_info *rt6_make_pcpu_route(struct net *net,
p = this_cpu_ptr(res->nh->rt6i_pcpu);
prev = cmpxchg(p, NULL, pcpu_rt);
- BUG_ON(prev);
+ if (unlikely(prev)) {
+ /*
+ * Another task on this CPU already installed a pcpu_rt.
+ * This can happen on PREEMPT_RT where preemption is possible.
+ * Free our allocation and return the existing one.
+ */
+ WARN_ON_ONCE(!IS_ENABLED(CONFIG_PREEMPT_RT));
+
+ dst_dev_put(&pcpu_rt->dst);
+ dst_release(&pcpu_rt->dst);
+ return prev;
+ }
if (res->f6i->fib6_destroying) {
struct fib6_info *from;
reply other threads:[~2026-03-13 15:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=177341534116.914902.15835182269280039713@jupiter \
--to=joseph.salisbury@oracle.com \
--cc=C.Emde@osadl.org \
--cc=bigeasy@linutronix.de \
--cc=daniel.wagner@suse.com \
--cc=jkacur@redhat.com \
--cc=josephtsalisbury@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=pavel@denx.de \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=williams@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