public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [5.10] net/sched: act_ife: convert comma to semicolon
@ 2026-01-21 14:39 Ben Hutchings
  2026-01-23 13:50 ` Luis Claudio R. Goncalves
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2026-01-21 14:39 UTC (permalink / raw)
  To: stable; +Cc: Chen Ni, linux-rt-devel

[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

Hello stable maintainers,

There has been a build regression for the 5.10 stable branch when both
CONFIG_NET_ACT_IFE and CONFIG_PREEMPT_RT are enabled.  This was
introduced by the backport of commit ce50039be49e ("net: sched: act_ife:
initialize struct tc_ife to fix KMSAN kernel-infoleak") in 5.10.247.

After that change, tcf_ife_dump() includes the single statement:

        opt.index = ife->tcf_index,
        opt.refcnt = refcount_read(&ife->tcf_refcnt) - ref,
        opt.bindcnt = atomic_read(&ife->tcf_bindcnt) - bind,
 
        spin_lock_bh(&ife->tcf_lock);

But with CONFIG_PREEMPT_RT enabled, spin_lock_bh() is a macro whose
expansion starts with "do", so this is a syntax error.

For 5.15-rt and newer, spin_lock_bh() is a function, and 5.4 is EOL, so
only 5.10 is affected.

Please cherry-pick commit 205305c028ad ("net/sched: act_ife: convert
comma to semicolon") to fix this for 5.10.  It should be harmless to
apply to later branches as well, of course.

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-23 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21 14:39 [5.10] net/sched: act_ife: convert comma to semicolon Ben Hutchings
2026-01-23 13:50 ` Luis Claudio R. Goncalves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox