linux/drivers/firewire
Clemens Ladisch 18d627113b firewire: prevent dropping of completed iso packet header data
The buffer for the header data of completed iso packets has a fixed
size, so it is possible to configure a stream with a big interval
between interrupt packets or with big headers so that this buffer would
overflow.  Previously, ohci.c would drop any data that would not fit,
but this could make unsuspecting applications believe that fewer than
the actual number of packets have completed.

Instead of dropping data, add calls to flush_iso_completion() so that
there are as many events as needed to report all of the data.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2012-03-18 22:15:39 +01:00
..
core-card.c firewire: core: prefix log messages with card name 2012-02-22 22:36:00 +01:00
core-cdev.c firewire: prevent dropping of completed iso packet header data 2012-03-18 22:15:39 +01:00
core-device.c firewire: core: prefix log messages with card name 2012-02-22 22:36:00 +01:00
core-iso.c firewire: optimize iso queueing by setting wake only after the last packet 2011-05-10 22:53:45 +02:00
core-topology.c firewire: tone down some diagnostic log messages 2012-03-10 17:41:19 +01:00
core-transaction.c firewire: core: convert AR-req handler lock from _irqsave to _bh 2012-02-22 22:36:01 +01:00
core.h firewire: core: prefix log messages with card name 2012-02-22 22:36:00 +01:00
init_ohci1394_dma.c ieee1394: move init_ohci1394_dma to drivers/firewire/ 2010-10-11 14:48:03 +02:00
Kconfig firewire: ohci: move runtime debug facility out of #ifdef 2012-03-10 17:41:19 +01:00
Makefile ieee1394: move init_ohci1394_dma to drivers/firewire/ 2010-10-11 14:48:03 +02:00
net.c firewire: net: use dev_printk API 2012-02-22 22:36:00 +01:00
nosy-user.h firewire: nosy: endianess fixes and annotations 2010-07-27 11:04:11 +02:00
nosy.c firewire: nosy: Use the macro DMA_BIT_MASK(). 2012-02-22 22:36:01 +01:00
nosy.h firewire: nosy: misc cleanups 2010-07-27 11:04:10 +02:00
ohci.c firewire: prevent dropping of completed iso packet header data 2012-03-18 22:15:39 +01:00
ohci.h firewire: ohci: fix TI TSB82AA2 regression since 2.6.35 2010-10-17 14:09:12 +02:00
sbp2.c firewire: sbp2: replace a GFP_ATOMIC allocation 2012-03-10 17:41:19 +01:00