]> 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)
commitdc5f7192ca49e0647205cbc6e47fffe08ce7b4e6
treea886babf11904d4d89ee01f808f87a21b9870ce4
parent4d8a7603d82e7f2206fba52ff72d5f51853d1aa7
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: de8462205eda ("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