]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tty: Remove an incorrect assertion from ttyinq_line_iterate()
authorMark Johnston <markj@FreeBSD.org>
Tue, 12 Apr 2022 21:30:04 +0000 (17:30 -0400)
committerMark Johnston <markj@FreeBSD.org>
Tue, 12 Apr 2022 21:30:04 +0000 (17:30 -0400)
commitd769609620931a62ebacbd4f1f5fd048c7e3d7c0
tree65f5247f97016fd46408665831e74e9965b358de
parent6e563a1b608438504d963c2d7c70e50d2e75af46
tty: Remove an incorrect assertion from ttyinq_line_iterate()

We may legitimately have tib == NULL if we're at the very end of the
queue.

PR: 215373
Reported by: pho
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/kern/tty_inq.c