tcp: improve consistency

No functional change intended.

Reported by:		Coverity Scan
CID:			1523781
Reviewed by:		rscheff
MFC after:		3 days
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D44645
This commit is contained in:
Michael Tuexen 2024-04-06 10:02:06 +02:00
parent d902c8f55b
commit 3e1c8a35f7
2 changed files with 2 additions and 2 deletions

View file

@ -1955,7 +1955,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;
}

View file

@ -123,7 +123,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