[Bug 172675] [netinet] [patch] sysctl_tcp_hc_list (net.inet.tcp.hostcache.list) race condition causing memory corruption

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 17 17:31:41 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=172675

--- Comment #5 from Anton Yuzhaninov <citrin+pr at 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.


More information about the freebsd-net mailing list