Searched hist:"65 c001df517a7bf9be8621b53d43c89f426ce8d6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ipack/devices/ |
H A D | ipoctal.c | diff 65c001df517a7bf9be8621b53d43c89f426ce8d6 Fri Sep 17 06:46:18 CDT 2021 Johan Hovold <johan@kernel.org> ipack: ipoctal: fix tty registration race
Make sure to set the tty class-device driver data before registering the tty to avoid having a racing open() dereference a NULL pointer.
Fixes: 9c1d784afc6f ("Staging: ipack/devices/ipoctal: Get rid of ipoctal_list.") Cc: stable@vger.kernel.org # 3.7 Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20210917114622.5412-3-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|