commit | cae7b6dd6c569f18f5c8e3f33cac60fbaeb58140 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Wed Aug 14 15:37:52 2013 +0000 |
committer | Robert Love <robert.w.love@intel.com> | Wed Sep 04 13:30:43 2013 -0700 |
tree | 257c25995a259307113f337cc8f569f2604b9363 | |
parent | 5d73bea2d3a004698d16ba5face89f0bef383e76 [diff] |
libfc: Avoid that sending after an abort triggers a kernel warning Calling fc_seq_send() after an ABTS message has been received triggers a kernel warning (WARN_ON(!(ep->esb_stat & ESB_ST_SEQ_INIT))). Avoid this by returning -ENXIO to the caller if fc_seq_send() is invoked after an ABTS message has been received. 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>