From: Takashi Iwai <tiwai@suse.de>
To: "Cássio Gabriel" <cassiogabrielcontato@gmail.com>
Cc: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] ALSA: seq: Fix UMP group 16 filtering
Date: Wed, 06 May 2026 09:57:24 +0200 [thread overview]
Message-ID: <877bpht1gb.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260506-alsa-seq-ump-group16-filter-v1-1-b75160bf6993@gmail.com>
On Wed, 06 May 2026 05:15:48 +0200,
Cássio Gabriel wrote:
>
> The sequencer UAPI defines group_filter as an unsigned int bitmap.
> Bit 0 filters groupless messages and bits 1-16 filter UMP groups 1-16.
>
> The internal snd_seq_client storage is only unsigned short, so bit 16
> is truncated when userspace sets the filter. The same truncation affects
> the automatic UMP client filter used to avoid delivery to inactive
> groups, so events for group 16 cannot be filtered.
>
> Store the internal bitmap as unsigned int and keep both userspace-provided
> and automatically generated values limited to the defined UAPI bits.
>
> Fixes: d2b706077792 ("ALSA: seq: Add UMP group filter")
> Cc: stable@vger.kernel.org
> Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
A good catch! Applied now.
thanks,
Takashi
prev parent reply other threads:[~2026-05-06 7:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 3:15 [PATCH] ALSA: seq: Fix UMP group 16 filtering Cássio Gabriel
2026-05-06 7:57 ` Takashi Iwai [this message]
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=877bpht1gb.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=cassiogabrielcontato@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=stable@vger.kernel.org \
--cc=tiwai@suse.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