Date: Thu, 4 Nov 2004 21:30:18 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200411042130.iA4LUIkw039606@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2004-11-04 21:30:18 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Partically backout previous commit. Since _callout_stop_safe() clears out c->c_func, we can't take it after callout_stop(). To take it before we need to acquire callout_lock, to avoid race. This commit narrows down area where lock is held, but hack is still present. This should be redesigned. Approved by: julian (mentor) Revision Changes Path 1.86 +7 -2 src/sys/netgraph/ng_base.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411042130.iA4LUIkw039606>