aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-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 a8e751b67071..b4d64b8a6893 100644
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -1356,7 +1356,9 @@ do_bpf_and_csum(struct inpcb *inp, struct lro_ctrl *lc, struct lro_entry *le,
uint16_t drop_hdrlen;
int etype, tlen;
+#ifdef INET
uint8_t iptos;
+#endif
/* Let the BPF see the packet */
if (bpf_req && lc->ifp)