Module Name: src Committed By: yamt Date: Mon Oct 31 12:52:19 UTC 2011
Modified Files: src/sys/netinet: tcp_var.h Log Message: tcp_reass_unlock: assertion To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.168 src/sys/netinet/tcp_var.h 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_var.h diff -u src/sys/netinet/tcp_var.h:1.167 src/sys/netinet/tcp_var.h:1.168 --- src/sys/netinet/tcp_var.h:1.167 Wed May 25 23:17:44 2011 +++ src/sys/netinet/tcp_var.h Mon Oct 31 12:52:19 2011 @@ -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 @@ tcp_reass_unlock(struct tcpcb *tp) int s; s = splvm(); + KASSERT((tp->t_flags & TF_REASSEMBLING) != 0); tp->t_flags &= ~TF_REASSEMBLING; splx(s); }