]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: fix check for the size of isochronous packet payload
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 13 May 2021 12:56:50 +0000 (21:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 May 2021 07:40:46 +0000 (09:40 +0200)
commit5d9ee7b4c5772d61cc9d3faffd385497dea5a2b7
treea886babf11904d4d89ee01f808f87a21b9870ce4
parent12564eb78309f366e1b8552fd3a451601c819fbc
ALSA: firewire-lib: fix check for the size of isochronous packet payload

The check for size of isochronous packet payload just cares of the size of
IR context payload without the size of CIP header.

Cc: <stable@vger.kernel.org>
Fixes: 8ef10d30d01a ("ALSA: firewire-lib: use 16 bytes IR context header to separate CIP header")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210513125652.110249-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c