Signed-off-by: Rob Love <[EMAIL PROTECTED]>
---
drivers/scsi/ofc/libfc/fc_sess.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/ofc/libfc/fc_sess.c b/drivers/scsi/ofc/libfc/fc_sess.c
index 34cc2b0..8ac6811 100644
--- a/drivers/scsi/ofc/libfc/fc_sess.c
+++ b/drivers/scsi/ofc/libfc/fc_sess.c
@@ -665,6 +665,8 @@ struct fc_seq *fc_sess_seq_alloc(struct fc_sess *sess,
struct fc_exch *ep;
struct fc_local_port *lp;
+ if (!sess)
+ return NULL;
lp = sess->fs_local_port;
sp = fc_seq_start_exch(lp->fl_vf->vf_exch_mgr,
recv, errh, arg, sess->fs_local_fid,
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html