]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tty: mark Siemens R3964 line discipline as BROKEN
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2019 13:39:26 +0000 (15:39 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit8f9972ec40e8d8d3ca944db308cb40d037a81ccb
tree30a2a7c72c925057951569ae443671540d5222e0
parent7dde6110245fab09a87e365d4aaba90c6cce36ec
tty: mark Siemens R3964 line discipline as BROKEN

BugLink: https://bugs.launchpad.net/bugs/1838116
commit c7084edc3f6d67750f50d4183134c4fb5712a5c8 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: Jann Horn <jannh@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/char/Kconfig