Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet tcp_reass_unlock: assertion



details:   https://anonhg.NetBSD.org/src/rev/7de192edc1d4
branches:  trunk
changeset: 770734:7de192edc1d4
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Oct 31 12:52:19 2011 +0000

description:
tcp_reass_unlock: assertion

diffstat:

 sys/netinet/tcp_var.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 6104b83ba555 -r 7de192edc1d4 sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h     Mon Oct 31 12:50:50 2011 +0000
+++ b/sys/netinet/tcp_var.h     Mon Oct 31 12:52:19 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_var.h,v 1.167 2011/05/25 23:17:44 gdt Exp $        */
+/*     $NetBSD: tcp_var.h,v 1.168 2011/10/31 12:52:19 yamt Exp $       */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -408,6 +408,7 @@
        int s;
 
        s = splvm();
+       KASSERT((tp->t_flags & TF_REASSEMBLING) != 0);
        tp->t_flags &= ~TF_REASSEMBLING;
        splx(s);
 }



Home | Main Index | Thread Index | Old Index