git: 90cde57af8c6 - stable/14 - tcp: improve consistency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Apr 2024 14:00:40 UTC
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=90cde57af8c6f14c9a898027646b8e5c6fdd1cfb commit 90cde57af8c6f14c9a898027646b8e5c6fdd1cfb Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2024-04-06 08:02:06 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2024-04-17 14:00:09 +0000 tcp: improve consistency No functional change intended. Reported by: Coverity Scan CID: 1523781 Reviewed by: rscheff Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D44645 (cherry picked from commit 3e1c8a35f741a5d114d0ba670b15191355711fe9) --- sys/netinet/tcp_input.c | 2 +- sys/netinet/tcp_timewait.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 2a4f3875d1b9..53fa5913311a 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1941,7 +1941,7 @@ tcp_do_segment(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th, tp->t_flags |= TF_DELACK; } else { tp->t_flags |= TF_ACKNOW; - tcp_output(tp); + (void) tcp_output(tp); } goto check_delack; } diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 1de6a2bfec0e..6fb12ce5380e 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -124,7 +124,7 @@ tcp_twstart(struct tcpcb *tp) soisdisconnected(inp->inp_socket); if (tp->t_flags & TF_ACKNOW) - tcp_output(tp); + (void) tcp_output(tp); if (V_nolocaltimewait && ( #ifdef INET6