Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2014 17:31:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 172675] [netinet] [patch] sysctl_tcp_hc_list (net.inet.tcp.hostcache.list) race condition causing memory corruption
Message-ID:  <bug-172675-2472-sYL5I0zhNx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-172675-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-172675-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=172675

--- Comment #5 from Anton Yuzhaninov <citrin+pr@citrin.ru> ---
Race in cache_count change is still not fixed after more than two years :(

atomic_add_int / atomic_subtract_int is expensive operations. Better to use
counter(9) API.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-172675-2472-sYL5I0zhNx>