summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2019-12-27 17:44:34 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-14 20:03:05 +0100
commitd3a94f6d1a65c4a85c57f400921c2a5f66410eac (patch)
tree25649dcebfe5eea5c1064cab72a0ada5319c0ea4 /drivers/vfio
parent4779450e5a2995bc15a2e4a7d2eff590a1797962 (diff)
tty: always relink the port
commit 273f632912f1b24b642ba5b7eb5022e43a72f3b5 upstream. If the serial device is disconnected and reconnected, it re-enumerates properly but does not link it. fwiw, linking means just saving the port index, so allow it always as there is no harm in saving the same value again even if it tries to relink with the same port. Fixes: fb2b90014d78 ("tty: link tty and port before configuring it as console") Reported-by: Kenneth R. Crudup <kenny@panix.com> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20191227174434.12057-1-sudipm.mukherjee@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions