OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: David Gwynne (dlgcvs.openbsd.org)
Date: Fri Apr 20 2007 - 08:59:34 CDT


CVSROOT: /cvs
Module name: src
Changes by: dlgcvs.openbsd.org 2007/04/20 07:59:34

Modified files:
        sys/dev/pci : if_tht.c

Log message:
add a lock around ioctl handling to prevent the posssibility that someone
will try to bring the interface up in the middle of it being brought down.
im sleeping in tht_down while waiting for the tx fifos to drain, so its
possible something else can enter the ioctl handler while that's happening.