• Arjan Mels's avatar
    staging: usbip: bugfix for isochronous packets and optimization · 28276a28
    Arjan Mels authored
    For isochronous packets the actual_length is the sum of the actual
    length of each of the packets, however between the packets might be
    padding, so it is not sufficient to just send the first actual_length
    bytes of the buffer. To fix this and simultanesouly optimize the
    bandwidth the content of the isochronous packets are send without the
    padding, the padding is restored on the receiving end.
    Signed-off-by: default avatarArjan Mels <arjan.mels@gmx.net>
    Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
    Cc: Max Vozeler <max@vozeler.com>
    Cc: stable <stable@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    28276a28
vhci_rx.c 6.44 KB