|
From: <bva...@us...> - 2019-03-10 04:33:54
|
Revision: 8029
http://sourceforge.net/p/scst/svn/8029
Author: bvassche
Date: 2019-03-10 04:33:51 +0000 (Sun, 10 Mar 2019)
Log Message:
-----------
scst_targ: Add a consistency check in __scst_rx_cmd()
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2019-03-10 02:28:44 UTC (rev 8028)
+++ trunk/scst/src/scst_targ.c 2019-03-10 04:33:51 UTC (rev 8029)
@@ -558,6 +558,8 @@
{
TRACE_ENTRY();
+ WARN_ON_ONCE(cmd->cpu_cmd_counter);
+
cmd->sess = sess;
scst_sess_get(sess);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|