Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet fix a double unlock bug introduced by tcp_input....



details:   https://anonhg.NetBSD.org/src/rev/230d04c93eef
branches:  trunk
changeset: 770736:230d04c93eef
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Oct 31 13:01:42 2011 +0000

description:
fix a double unlock bug introduced by tcp_input.c rev.1.312.

diffstat:

 sys/netinet/tcp_input.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a109957582a5 -r 230d04c93eef sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c   Mon Oct 31 12:56:45 2011 +0000
+++ b/sys/netinet/tcp_input.c   Mon Oct 31 13:01:42 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_input.c,v 1.316 2011/08/31 18:31:03 plunky Exp $   */
+/*     $NetBSD: tcp_input.c,v 1.317 2011/10/31 13:01:42 yamt Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.316 2011/08/31 18:31:03 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.317 2011/10/31 13:01:42 yamt Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -2926,7 +2926,6 @@
                        m_adj(m, hdroptlen);
                        tiflags = tcp_reass(tp, th, m, &tlen);
                        tp->t_flags |= TF_ACKNOW;
-                       TCP_REASS_UNLOCK(tp);
                }
 
                /*



Home | Main Index | Thread Index | Old Index