CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/03/16 09:04:19
Modified files:
sys/dev/wscons : wsmux.c
Log message:
Clear the me_evp pointer after calling wsmux_do_close() as opposed of
before. The pointer indicates if a wsmux device is attached to another
wsmux, clearing it therefore allows same device to attached again. This
can be problematic since wsmux_do_close() can sleep. Swapping the order
of operations prevents attaching a wsmux which is in a closing state.
ok deraadt@ mpi@ visa@