aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2021-02-18 12:29:12 +0000
committerRandall Stewart <rrs@FreeBSD.org>2021-02-18 12:29:12 +0000
commite13e4fa6c4eba72de5c4685942de5dbe8f43db73 (patch)
treeda9a3c53048384d054cf3348046811ee06f9e5bd /sys/netinet
parentfae028dd97d8fc8f9ba5153408b177481dbefd70 (diff)
downloadsrc-e13e4fa6c4eba72de5c4685942de5dbe8f43db73.tar.gz
src-e13e4fa6c4eba72de5c4685942de5dbe8f43db73.zip
fix Navdeeps LINT_NOINET error.
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)