diff options
| author | Takashi Iwai <[email protected]> | 2025-02-17 17:00:30 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2025-02-17 17:02:02 +0000 |
| commit | e77aa4b2eaa7fb31b2a7a50214ecb946b2a8b0f6 (patch) | |
| tree | d597eb2958aff1809a873509e6bea6c6621e8d8b /net/unix/af_unix.c | |
| parent | ALSA: hda/conexant: Add quirk for HP ProBook 450 G4 mute LED (diff) | |
| download | kernel-e77aa4b2eaa7fb31b2a7a50214ecb946b2a8b0f6.tar.gz kernel-e77aa4b2eaa7fb31b2a7a50214ecb946b2a8b0f6.zip | |
ALSA: seq: Drop UMP events when no UMP-conversion is set
When a destination client is a user client in the legacy MIDI mode and
it sets the no-UMP-conversion flag, currently the all UMP events are
still passed as-is. But this may confuse the user-space, because the
event packet size is different from the legacy mode.
Since we cannot handle UMP events in user clients unless it's running
in the UMP client mode, we should filter out those events instead of
accepting blindly. This patch addresses it by slightly adjusting the
conditions for UMP event handling at the event delivery time.
Fixes: 329ffe11a014 ("ALSA: seq: Allow suppressing UMP conversions")
Link: https://lore.kernel.org/[email protected]
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
