android_kernel_motorola_sm6225/drivers/infiniband/ulp/iser
Erez Zilber 1d426d6418 IB/iser: Don't defer connection failure notification to workqueue
When a connection is terminated asynchronously from the iSCSI layer's
perspective, iSER needs to notify the iSCSI layer that the connection
has failed.  This is done using a workqueue (switched to from the iSER
tasklet context).  Meanwhile, the connection object (that holds the
work struct) is released.  If the workqueue function wasn't called
yet, it will be called later with a NULL pointer, which will crash the
kernel.

The context switch (tasklet to workqueue) is not required, and
everything can be done from the iSER tasklet. This eliminates the NULL
work struct bug (and simplifies the code).

Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-04-05 09:46:04 -07:00
..
iscsi_iser.c IB/iser: Return error code when PDUs may not be sent 2007-01-07 10:15:15 -08:00
iscsi_iser.h IB/iser: Don't defer connection failure notification to workqueue 2007-04-05 09:46:04 -07:00
iser_initiator.c IB/iser: Handle aborting a command after it is sent 2007-03-26 16:35:09 -07:00
iser_memory.c IB/iser: Use the new verbs DMA mapping functions 2006-12-12 14:31:00 -08:00
iser_verbs.c IB/iser: Don't defer connection failure notification to workqueue 2007-04-05 09:46:04 -07:00
Kconfig IB/iser: Fix the description of iSER in Kconfig 2006-09-28 10:54:51 -07:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00