The branch main has been updated by rrs:

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

commit e13e4fa6c4eba72de5c4685942de5dbe8f43db73
Author:     Randall Stewart <r...@freebsd.org>
AuthorDate: 2021-02-18 12:29:12 +0000
Commit:     Randall Stewart <r...@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)
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to