aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/dtlk.c
diff options
context:
space:
mode:
authorJay Fenlason <fenlason@redhat.com>2009-12-11 14:23:58 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-12-11 21:43:45 +0100
commit8c0c0cc2d9f4c523fde04bdfe41e4380dec8ee54 (patch)
treeeeb3a432eab9e357b332366fe7719fa932e29b88 /drivers/char/dtlk.c
parentaf0940dac37545b1e7900b19c464fb6367d3f82f (diff)
firewire: ohci: handle receive packets with a data length of zero
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> Cc: stable@kernel.org
Diffstat (limited to 'drivers/char/dtlk.c')
0 files changed, 0 insertions, 0 deletions