USB: serial: keyspan_pda: fix data loss on receive throttling
authorJohan Hovold <johan@kernel.org>
Wed, 8 Jul 2026 14:31:35 +0000 (16:31 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 13 Jul 2026 09:32:52 +0000 (11:32 +0200)
commit42a97c0480f96a2977e6d51ce512adc780f1ef5d
treebd66f3d3ea889a0c6a8e0dd013da5416b9a3a326
parenta13c140cc289c0b7b3770bce5b3ad42ab35074aa
USB: serial: keyspan_pda: fix data loss on receive throttling

Killing the interrupt-in urb when the line disciple requests throttling
may lead to data loss if an ongoing transfer is cancelled.

Instead set a flag to prevent the completion handler from resubmitting
the urb until the port is unthrottled.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/keyspan_pda.c