tty: tty_buffer: Fix the softlockup issues in flush_to_ldisc
Description:
Updates to fix tty: tty_buffer: softlockup issues in flush_to_ldisc
JIRA: https://issues.redhat.com/browse/RHEL-32592
CVE: CVE-2021-47185
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=60552952
Tested: Successfully sanity tested tty on Intel (intel-arrowlake-s-02) system and
arm (ampere-mtsnow-altramax-01-vm-06 and ampere-mtsnow-altramax-02) systems .
Signed-off-by: Steve Best sbest@redhat.com