cvs commit: src/sys/kern tty.c

Peter Wemm peter at wemm.org
Fri Jan 11 16:59:32 PST 2008


On Jan 11, 2008 4:20 PM, John Baldwin <jhb at freebsd.org> wrote:
> jhb         2008-01-12 00:20:06 UTC
>
>   FreeBSD src repository
>
>   Modified files:        (Branch: RELENG_7_0)
>     sys/kern             tty.c
>   Log:
>   MFC: Close a race in the kern.ttys sysctl handler that resulted in panics
>   in dev2udev().

I think this fixes a (previously reported) panic caused by removing a
usb tty device while a pending kqueue event is actively listening on
it.  At least, your change conflicted with my change to fix the kevent
panic.  I'll test and see if your version solves my problem as well.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


More information about the cvs-src mailing list