Commit 406f51fa authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Stefan Bader

tty: mark Siemens R3964 line discipline as BROKEN

BugLink: https://bugs.launchpad.net/bugs/1828420

commit c7084edc upstream.

The n_r3964 line discipline driver was written in a different time, when
SMP machines were rare, and users were trusted to do the right thing.
Since then, the world has moved on but not this code, it has stayed
rooted in the past with its lovely hand-crafted list structures and
loads of "interesting" race conditions all over the place.

After attempting to clean up most of the issues, I just gave up and am
now marking the driver as BROKEN so that hopefully someone who has this
hardware will show up out of the woodwork (I know you are out there!)
and will help with debugging a raft of changes that I had laying around
for the code, but was too afraid to commit as odds are they would break
things.

Many thanks to Jann and Linus for pointing out the initial problems in
this codebase, as well as many reviews of my attempts to fix the issues.
It was a case of whack-a-mole, and as you can see, the mole won.
Reported-by: default avatarJann Horn <jannh@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent b2aa65a1
...@@ -389,7 +389,7 @@ config XILINX_HWICAP ...@@ -389,7 +389,7 @@ config XILINX_HWICAP
config R3964 config R3964
tristate "Siemens R3964 line discipline" tristate "Siemens R3964 line discipline"
depends on TTY depends on TTY && BROKEN
---help--- ---help---
This driver allows synchronous communication with devices using the This driver allows synchronous communication with devices using the
Siemens R3964 packet protocol. Unless you are dealing with special Siemens R3964 packet protocol. Unless you are dealing with special
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment