summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2005-05-21 00:38:29 +0000
committerPaul Saab <ps@FreeBSD.org>2005-05-21 00:38:29 +0000
commit2cdbfa66ee9fb0e288ad9fa249b07cddcb6092c0 (patch)
tree0651896cf5d44a0afda4705e762705703d6e9ba8 /sys/netinet/tcp_usrreq.c
parentbd8fa19da3bddb4e79cd6b4cd9330537c6ffbad1 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 98eff0733f83..3a2dbf5f2ead 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -742,9 +742,9 @@ tcp_usr_send(struct socket *so, int flags, struct mbuf *m,
INP_INFO_WUNLOCK(&tcbinfo);
unlocked = 1;
tp->snd_up = tp->snd_una + so->so_snd.sb_cc;
- tp->t_force = 1;
+ tp->t_flags |= TF_FORCEDATA;
error = tcp_output(tp);
- tp->t_force = 0;
+ tp->t_flags &= ~TF_FORCEDATA;
}
out:
TCPDEBUG2((flags & PRUS_OOB) ? PRU_SENDOOB :