Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2021 12:51:43 GMT
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e13e4fa6c4eb - main - fix Navdeeps LINT_NOINET error.
Message-ID:  <202102181251.11ICpheY033790@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rrs:

URL: https://cgit.FreeBSD.org/src/commit/?id=e13e4fa6c4eba72de5c4685942de5dbe8f43db73

commit e13e4fa6c4eba72de5c4685942de5dbe8f43db73
Author:     Randall Stewart <rrs@FreeBSD.org>
AuthorDate: 2021-02-18 12:29:12 +0000
Commit:     Randall Stewart <rrs@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102181251.11ICpheY033790>