CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2015/08/24 09:37:03
Modified files: sys/netinet : tcp_input.c tcp_subr.c tcp_var.h Log message: Rename the syn cache counter into tcp_syn_cache_count to have the same prefix for all variables. Convert the counter type to int, the limit is also int. Before searching the cache, check that it is not empty. Do not access the counter outside of the syn cache from tcp_ctlinput(), let the syn_cache_lookup() function handle it. OK dlg@