diff options
| author | 2025-09-12 13:13:22 +0300 | |
|---|---|---|
| committer | 2025-09-12 16:21:46 +0200 | |
| commit | 82a051e2553b9e297cba82a975d9c538b882c79e (patch) | |
| tree | ed4d5b67afdf8684ad87f4bfb6b5d98bc166f82c /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | staging: axis-fifo: fix TX handling on copy_from_user() failure (diff) | |
| download | wireguard-linux-82a051e2553b9e297cba82a975d9c538b882c79e.tar.xz wireguard-linux-82a051e2553b9e297cba82a975d9c538b882c79e.zip | |
staging: axis-fifo: flush RX FIFO on read errors
Flush stale data from the RX FIFO in case of errors, to avoid reading
old data when new packets arrive.
Commit c6e8d85fafa7 ("staging: axis-fifo: Remove hardware resets for
user errors") removed full FIFO resets from the read error paths, which
fixed potential TX data losses, but introduced this RX issue.
Fixes: c6e8d85fafa7 ("staging: axis-fifo: Remove hardware resets for user errors")
Cc: stable@vger.kernel.org
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Link: https://lore.kernel.org/r/20250912101322.1282507-2-ovidiu.panait.oss@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
