Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/iscsi wrong assertion.



details:   https://anonhg.NetBSD.org/src/rev/122d2d573346
branches:  trunk
changeset: 815849:122d2d573346
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Jun 05 09:12:48 2016 +0000

description:
wrong assertion.

diffstat:

 sys/dev/iscsi/iscsi_send.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 6b84dcbdce21 -r 122d2d573346 sys/dev/iscsi/iscsi_send.c
--- a/sys/dev/iscsi/iscsi_send.c        Sun Jun 05 09:09:57 2016 +0000
+++ b/sys/dev/iscsi/iscsi_send.c        Sun Jun 05 09:12:48 2016 +0000
@@ -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 @@
                                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);



Home | Main Index | Thread Index | Old Index