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:
David Greenman 1995-04-10 17:16:10 +00:00
parent f0681de0c2
commit afa70c96dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7737
2 changed files with 6 additions and 6 deletions

View File

@ -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;
/*

View File

@ -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;
/*