diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2019-12-02 20:58:04 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2019-12-02 20:58:04 +0000 |
commit | adc56f5a383771f594829b7db9c263b6f0dcf1bd (patch) | |
tree | 1767a0c4a3c4257add557b9ae6dbf666df6b4926 /sys/netinet/tcp_log_buf.c | |
parent | 79c1428ed655778475f020df2932d0b2f1c648b1 (diff) |
Notes
Diffstat (limited to 'sys/netinet/tcp_log_buf.c')
-rw-r--r-- | sys/netinet/tcp_log_buf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c index 48d8067625c5..81d5ee67a3aa 100644 --- a/sys/netinet/tcp_log_buf.c +++ b/sys/netinet/tcp_log_buf.c @@ -30,10 +30,12 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> +#include <sys/arb.h> #include <sys/kernel.h> #include <sys/lock.h> #include <sys/malloc.h> #include <sys/mutex.h> +#include <sys/qmath.h> #include <sys/queue.h> #include <sys/refcount.h> #include <sys/rwlock.h> @@ -41,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socketvar.h> #include <sys/sysctl.h> #include <sys/tree.h> +#include <sys/stats.h> #include <sys/counter.h> #include <dev/tcp_log/tcp_log_dev.h> @@ -475,7 +478,7 @@ tcp_log_grow_tlb(char *tlb_id, struct tcpcb *tp) INP_WLOCK_ASSERT(tp->t_inpcb); -#ifdef NETFLIX +#ifdef STATS if (V_tcp_perconn_stats_enable == 2 && tp->t_stats == NULL) (void)tcp_stats_sample_rollthedice(tp, tlb_id, strlen(tlb_id)); #endif |