git: 0fd5c29944c5 - main - tcp/rack: plug a set-but-not-used var
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Apr 2022 09:35:18 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=0fd5c29944c58a696ee8ac1aa7e6f71ff96601c6
commit 0fd5c29944c58a696ee8ac1aa7e6f71ff96601c6
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2022-04-19 09:33:35 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2022-04-19 09:33:35 +0000
tcp/rack: plug a set-but-not-used var
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/netinet/tcp_stacks/rack_bbr_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/tcp_stacks/rack_bbr_common.c b/sys/netinet/tcp_stacks/rack_bbr_common.c
index 1be426927073..d1150c4e4047 100644
--- a/sys/netinet/tcp_stacks/rack_bbr_common.c
+++ b/sys/netinet/tcp_stacks/rack_bbr_common.c
@@ -396,7 +396,7 @@ ctf_process_inbound_raw(struct tcpcb *tp, struct socket *so, struct mbuf *m, int
#endif
struct ifnet *ifp;
struct timeval tv;
- struct inpcb *inp;
+ struct inpcb *inp __diagused;
int32_t retval, nxt_pkt, tlen, off;
int etype = 0;
uint16_t drop_hdrlen;