diff options
author | Johan Hovold <[email protected]> | 2021-09-17 13:46:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-09-27 17:38:49 +0200 |
commit | 65c001df517a7bf9be8621b53d43c89f426ce8d6 (patch) | |
tree | ce020193ec4e3317f2dd055cb4f4f0274bfdef32 /lib/netdev-notifier-error-inject.c | |
parent | a89936cce87d60766a75732a9e7e25c51164f47c (diff) |
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: [email protected] # 3.7
Acked-by: Samuel Iglesias Gonsalvez <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions