summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-05-31 18:42:49 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-05-31 18:42:49 +0000
commit04a3fd1276f61f49739f322f9196c3e907357a78 (patch)
treeb8798015be620ed79c59dcba176d100770bfaee3
parent4dc75870b29bb43c7e739428f2f22e0132f3767a (diff)
Notes
-rw-r--r--sys/netinet/tcp_input.c8
-rw-r--r--sys/netinet/tcp_reass.c8
2 files changed, 6 insertions, 10 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index d33c29dc56dc8..14b69b4148e26 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.76 1998/05/18 17:07:58 guido Exp $
+ * $Id: tcp_input.c,v 1.77 1998/05/18 17:11:24 guido Exp $
*/
#include "opt_tcpdebug.h"
@@ -538,8 +538,7 @@ findpcb:
else if (tp->t_timer[TCPT_PERSIST] == 0)
tp->t_timer[TCPT_REXMT] = tp->t_rxtcur;
- if (so->so_snd.sb_flags & SB_NOTIFY)
- sowwakeup(so);
+ sowwakeup(so);
if (so->so_snd.sb_cc)
(void) tcp_output(tp);
return;
@@ -1373,8 +1372,7 @@ process_ACK:
tp->snd_wnd -= acked;
ourfinisacked = 0;
}
- if (so->so_snd.sb_flags & SB_NOTIFY)
- sowwakeup(so);
+ sowwakeup(so);
tp->snd_una = ti->ti_ack;
if (SEQ_LT(tp->snd_nxt, tp->snd_una))
tp->snd_nxt = tp->snd_una;
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index d33c29dc56dc8..14b69b4148e26 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.76 1998/05/18 17:07:58 guido Exp $
+ * $Id: tcp_input.c,v 1.77 1998/05/18 17:11:24 guido Exp $
*/
#include "opt_tcpdebug.h"
@@ -538,8 +538,7 @@ findpcb:
else if (tp->t_timer[TCPT_PERSIST] == 0)
tp->t_timer[TCPT_REXMT] = tp->t_rxtcur;
- if (so->so_snd.sb_flags & SB_NOTIFY)
- sowwakeup(so);
+ sowwakeup(so);
if (so->so_snd.sb_cc)
(void) tcp_output(tp);
return;
@@ -1373,8 +1372,7 @@ process_ACK:
tp->snd_wnd -= acked;
ourfinisacked = 0;
}
- if (so->so_snd.sb_flags & SB_NOTIFY)
- sowwakeup(so);
+ sowwakeup(so);
tp->snd_una = ti->ti_ack;
if (SEQ_LT(tp->snd_nxt, tp->snd_una))
tp->snd_nxt = tp->snd_una;