[SCSI] iscsi_transport: Check iscsi interface skb allocation return value
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 30 May 2007 17:57:07 +0000 (12:57 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 1 Jun 2007 16:02:05 +0000 (12:02 -0400)
commit239a7dc2fea4d079bc3090b5514497a5ced400d3
treeee4f5492a3f7c692db64d4f738877cbe09a2de14
parent5c9cfeddbb49954b459fda91bf5479f5a0a4e409
[SCSI] iscsi_transport: Check iscsi interface skb allocation return value

Let's not oops when we cannot allocate a skb! Add a check
for if alloc_skb fails.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_iscsi.c