mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
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:
parent
d902c8f55b
commit
3e1c8a35f7
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue