Home
last modified time | relevance | path

Searched hist:b86788658be425a5454246a954721d9122d2b3d6 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/scsi/libfc/
H A Dfc_exch.cdiff b86788658be425a5454246a954721d9122d2b3d6 Wed Aug 14 17:35:29 CEST 2013 Bart Van Assche <bvanassche@acm.org> libfc: Fix a race in fc_exch_timer_set_locked()

It is allowed to pass a zero timeout value to fc_seq_exch_abort().
Avoid that this can cause the timeout function to drop the exchange
reference before it has been increased by fc_exch_timer_set_locked().
This patch fixes a crash when running FCoE target code with poisoning
enabled in the memory allocator.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>