[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	reyk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/11/24 04:50:32

Modified files:
	sys/net        : bridgestp.c 

Log message:
never call an ioctl without process context! this diffs checks the
ifp->if_link_state instead of calling the ifmedia ioctl. this is safe
in timeouts without process context and allows to use bridge stp with
usb ethernet devices now.

figured out and tested by Stuart Henderson, closes pr 5304.