mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 23:28:57 +00:00
Fixed bug I introduced with my Nagel hack which caused tcp_input and
tcp_output to loop endlessly. This was freefall's problem during the past day.
This commit is contained in:
parent
f0681de0c2
commit
afa70c96dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7737
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* From: @(#)tcp_input.c 8.5 (Berkeley) 4/10/94
|
||||
* $Id: tcp_input.c,v 1.18 1995/04/05 10:32:14 olah Exp $
|
||||
* $Id: tcp_input.c,v 1.19 1995/04/09 01:29:24 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef TUBA_INCLUDE
|
||||
@ -522,7 +522,7 @@ findpcb:
|
||||
* congestion avoidance sender won't send more until
|
||||
* he gets an ACK.
|
||||
*/
|
||||
if (ti->ti_flags & TH_PUSH) {
|
||||
if (tiflags & TH_PUSH) {
|
||||
tp->t_flags |= TF_ACKNOW;
|
||||
tcp_output(tp);
|
||||
} else {
|
||||
@ -1561,7 +1561,7 @@ dodata: /* XXX */
|
||||
* congestion avoidance sender won't send more until
|
||||
* he gets an ACK.
|
||||
*/
|
||||
if (ti->ti_flags & TH_PUSH)
|
||||
if (tiflags & TH_PUSH)
|
||||
tp->t_flags |= TF_ACKNOW;
|
||||
|
||||
/*
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* From: @(#)tcp_input.c 8.5 (Berkeley) 4/10/94
|
||||
* $Id: tcp_input.c,v 1.18 1995/04/05 10:32:14 olah Exp $
|
||||
* $Id: tcp_input.c,v 1.19 1995/04/09 01:29:24 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef TUBA_INCLUDE
|
||||
@ -522,7 +522,7 @@ findpcb:
|
||||
* congestion avoidance sender won't send more until
|
||||
* he gets an ACK.
|
||||
*/
|
||||
if (ti->ti_flags & TH_PUSH) {
|
||||
if (tiflags & TH_PUSH) {
|
||||
tp->t_flags |= TF_ACKNOW;
|
||||
tcp_output(tp);
|
||||
} else {
|
||||
@ -1561,7 +1561,7 @@ dodata: /* XXX */
|
||||
* congestion avoidance sender won't send more until
|
||||
* he gets an ACK.
|
||||
*/
|
||||
if (ti->ti_flags & TH_PUSH)
|
||||
if (tiflags & TH_PUSH)
|
||||
tp->t_flags |= TF_ACKNOW;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user