From: Bart Van Assche Date: Wed, 14 Aug 2013 15:37:08 +0000 (+0000) Subject: libfc: Protect ep->esb_stat changes via ex_lock X-Git-Tag: v3.13-rc1~99^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d73bea2d3a004698d16ba5face89f0bef383e76;p=pandora-kernel.git libfc: Protect ep->esb_stat changes via ex_lock This patch avoids that the WARN_ON(!(ep->esb_stat & ESB_ST_SEQ_INIT)) statement in fc_seq_send_locked() gets triggered sporadically when running FCoE target code due to concurrent ep->esb_stat modifications. Signed-off-by: Bart Van Assche Cc: Neil Horman Signed-off-by: Robert Love --- Reading git-diff-tree failed