aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2021-02-18 06:27:30 +0000
committerRandall Stewart <rrs@FreeBSD.org>2021-02-18 06:27:30 +0000
commit0a4f851074a3ca74cd4859c20e7d9807b2aeca65 (patch)
treee4c34b48d0f29597acf8a83b14062f3e402439c2 /sys
parentf61e92ca5a23450bc28169bbdd71d7674df98c19 (diff)
downloadsrc-0a4f851074a3ca74cd4859c20e7d9807b2aeca65.tar.gz
src-0a4f851074a3ca74cd4859c20e7d9807b2aeca65.zip
Fix another pesky missing #ifdef TCPHPTS
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_lro.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c
index 199b7f9a79a0..a8e751b67071 100644
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -470,6 +470,7 @@ tcp_lro_rx_ipv4(struct lro_ctrl *lc, struct mbuf *m, struct ip *ip4,
}
#endif
+#ifdef TCPHPTS
static void
tcp_lro_log(struct tcpcb *tp, struct lro_ctrl *lc,
struct lro_entry *le, struct mbuf *m, int frm, int32_t tcp_data_len,
@@ -520,6 +521,7 @@ tcp_lro_log(struct tcpcb *tp, struct lro_ctrl *lc,
0, &log, false, &tv);
}
}
+#endif
static void
tcp_flush_out_le(struct tcpcb *tp, struct lro_ctrl *lc, struct lro_entry *le)