Date: Sat, 8 Jan 2011 22:08:23 +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: <201101082208.p08M8W88094967@repoman.freebsd.org>
index | next in thread | raw e-mail
bz 2011-01-08 22:08:23 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/net flowtable.c
Log:
SVN rev 217168 on 2011-01-08 22:08:23Z by bz
MFC r216855:
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)
[1] Early 2010, initial version.
Revision Changes Path
1.15.2.16 +10 -8 src/sys/net/flowtable.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101082208.p08M8W88094967>
