diff options
author | 2000-04-27 20:53:08 +0000 | |
---|---|---|
committer | 2000-04-27 20:53:08 +0000 | |
commit | 5af12afca00d140627c2c89b51b429ecd28b4bbd (patch) | |
tree | 6363eb5be355a5763a8dac113d4670b13672171b /sys/netinet/tcp_input.c | |
parent | Mention that sendmail listens on port 587 too now (diff) | |
download | wireguard-openbsd-5af12afca00d140627c2c89b51b429ecd28b4bbd.tar.xz wireguard-openbsd-5af12afca00d140627c2c89b51b429ecd28b4bbd.zip |
mbuf is freed by sbappend(), move the references to th up. found by art@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index c5663d4dce3..1138982f3d9 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.58 2000/04/14 04:20:57 itojun Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.59 2000/04/27 20:53:08 provos Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -894,12 +894,12 @@ findpcb: * to socket buffer. */ m_adj(m, iphlen + off); - sbappend(&so->so_rcv, m); - sorwakeup(so); if (th->th_flags & TH_PUSH) tp->t_flags |= TF_ACKNOW; else tp->t_flags |= TF_DELACK; + sbappend(&so->so_rcv, m); + sorwakeup(so); return; } } |