Date: Fri, 31 Dec 2010 21:06:52 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net flowtable.c Message-ID: <201012312107.oBVL7APS076885@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2010-12-31 21:06:52 UTC
FreeBSD src repository
Modified files:
sys/net flowtable.c
Log:
SVN rev 216855 on 2010-12-31 21:06:52Z by bz
Move the increment operation under the lock and split the condition
variable into two so that we can see on which one we are waiting.
This might also more properly propagate the update of the
flowclean_cycles flag and avoid "hangs" people were seeing.
Suggested by: rwatson [1]
Sponsored by: ISPsystem [1]
Reviewed by: julian [1]
Updated by: Mikolaj Golub (to.my.trociny gmail.com)
Tested by: Mikolaj Golub (to.my.trociny gmail.com)
MFC After: 1 week
[1] Early 2010, initial version.
Revision Changes Path
1.38 +10 -8 src/sys/net/flowtable.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012312107.oBVL7APS076885>
