Module Name: src
Committed By: mlelstv
Date: Sun Jun 5 09:12:49 UTC 2016
Modified Files:
src/sys/dev/iscsi: iscsi_send.c
Log Message:
wrong assertion.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/iscsi/iscsi_send.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/dev/iscsi/iscsi_send.c
diff -u src/sys/dev/iscsi/iscsi_send.c:1.28 src/sys/dev/iscsi/iscsi_send.c:1.29
--- src/sys/dev/iscsi/iscsi_send.c:1.28 Sun Jun 5 09:09:57 2016
+++ src/sys/dev/iscsi/iscsi_send.c Sun Jun 5 09:12:48 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: iscsi_send.c,v 1.28 2016/06/05 09:09:57 mlelstv Exp $ */
+/* $NetBSD: iscsi_send.c,v 1.29 2016/06/05 09:12:48 mlelstv Exp $ */
/*-
* Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -304,8 +304,6 @@ iscsi_send_thread(void *par)
TAILQ_REMOVE(&conn->pdus_to_send, pdu, send_chain);
mutex_exit(&conn->lock);
- KASSERT(!pdu->uio.uio_resid);
-
/* update ExpStatSN here to avoid discontinuities */
/* and delays in updating target */
pdu->pdu.p.command.ExpStatSN = htonl(conn->StatSN_buf.ExpSN);