Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d65cb699 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "tty: fix data race in flush_to_ldisc"

parents 4662a8ab a759b20f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -438,7 +438,7 @@ static void flush_to_ldisc(struct work_struct *work)
	struct tty_struct *tty;
	struct tty_ldisc *disc;

	tty = port->itty;
	tty = READ_ONCE(port->itty);
	if (tty == NULL)
		return;