|
@@ -900,6 +900,14 @@ static void sender(void *send_info,
|
|
|
printk("**Enqueue: %d.%9.9d\n", t.tv_sec, t.tv_usec);
|
|
|
#endif
|
|
|
|
|
|
+ /*
|
|
|
+ * last_timeout_jiffies is updated here to avoid
|
|
|
+ * smi_timeout() handler passing very large time_diff
|
|
|
+ * value to smi_event_handler() that causes
|
|
|
+ * the send command to abort.
|
|
|
+ */
|
|
|
+ smi_info->last_timeout_jiffies = jiffies;
|
|
|
+
|
|
|
mod_timer(&smi_info->si_timer, jiffies + SI_TIMEOUT_JIFFIES);
|
|
|
|
|
|
if (smi_info->thread)
|