diff options
author | Jay Fenlason <fenlason@redhat.com> | 2009-12-11 14:23:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-18 13:30:43 -0800 |
commit | e6ebd01ffd7b79678dfdda1d3b5653e8aea3eb41 (patch) | |
tree | 46135b074f89367ecb948519b11b44e5a30edbbc /fs/hfs/catalog.c | |
parent | 7a3390e41955ec09330821ba7b5231fc5b333453 (diff) |
firewire: ohci: handle receive packets with a data length of zero
commit 8c0c0cc2d9f4c523fde04bdfe41e4380dec8ee54 upstream.
Queueing to receive an ISO packet with a payload length of zero
silently does nothing in dualbuffer mode, and crashes the kernel in
packet-per-buffer mode. Return an error in dualbuffer mode, because
the DMA controller won't let us do what we want, and work correctly in
packet-per-buffer mode.
Signed-off-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/hfs/catalog.c')
0 files changed, 0 insertions, 0 deletions