summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2015-08-24 15:37:03 +0000
committerbluhm <bluhm@openbsd.org>2015-08-24 15:37:03 +0000
commitc694f8b18004a248aa50c2cf0ac13e1defe84b66 (patch)
tree92958de2214ad99ca129798c7ead0ac51f8ebbe4 /usr.bin/netstat/unix.c
parentRename M_RTABLE bucket into "rtable" to match the code and kill unused (diff)
downloadwireguard-openbsd-c694f8b18004a248aa50c2cf0ac13e1defe84b66.tar.xz
wireguard-openbsd-c694f8b18004a248aa50c2cf0ac13e1defe84b66.zip
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@
Diffstat (limited to 'usr.bin/netstat/unix.c')
0 files changed, 0 insertions, 0 deletions