git: e13e4fa6c4eb - main - fix Navdeeps LINT_NOINET error.
Randall Stewart
rrs at FreeBSD.org
Thu Feb 18 12:51:43 UTC 2021
The branch main has been updated by rrs:
URL: https://cgit.FreeBSD.org/src/commit/?id=e13e4fa6c4eba72de5c4685942de5dbe8f43db73
commit e13e4fa6c4eba72de5c4685942de5dbe8f43db73
Author: Randall Stewart <rrs at FreeBSD.org>
AuthorDate: 2021-02-18 12:29:12 +0000
Commit: Randall Stewart <rrs at FreeBSD.org>
CommitDate: 2021-02-18 12:29:12 +0000
fix Navdeeps LINT_NOINET error.
---
sys/netinet/tcp_lro.c | 2 ++
1 file changed, 2 insertions(+)
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)
More information about the dev-commits-src-all
mailing list