Module Name: src
Committed By: yamt
Date: Mon Oct 31 13:01:42 UTC 2011
Modified Files:
src/sys/netinet: tcp_input.c
Log Message:
fix a double unlock bug introduced by tcp_input.c rev.1.312.
To generate a diff of this commit:
cvs rdiff -u -r1.316 -r1.317 src/sys/netinet/tcp_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/tcp_input.c
diff -u src/sys/netinet/tcp_input.c:1.316 src/sys/netinet/tcp_input.c:1.317
--- src/sys/netinet/tcp_input.c:1.316 Wed Aug 31 18:31:03 2011
+++ src/sys/netinet/tcp_input.c Mon Oct 31 13:01:42 2011
@@ -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 @@ dodata: /* XXX */
m_adj(m, hdroptlen);
tiflags = tcp_reass(tp, th, m, &tlen);
tp->t_flags |= TF_ACKNOW;
- TCP_REASS_UNLOCK(tp);
}
/*