From: t_jeang Date: Tue, 6 Jan 2009 12:06:00 +0000 (+0000) Subject: imported patch open-iscsi-gfpkernel.patch X-Git-Tag: open-iscsi-adjust-for-in-kernel-build X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=26ed823a779875461d27da1565f439c1d218c904;p=xenclient%2Fkernel.git imported patch open-iscsi-gfpkernel.patch --- diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 6bb6aec8..128083b8 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c @@ -607,7 +607,7 @@ iscsi_if_send_reply(int pid, int seq, int type, int done, int multi, int flags = multi ? NLM_F_MULTI : 0; int t = done ? NLMSG_DONE : type; - skb = alloc_skb(len, GFP_ATOMIC); + skb = alloc_skb(len, GFP_KERNEL); /* not called from interrupt ctxt */ if (!skb) { printk(KERN_ERR "Could not allocate skb to send reply.\n"); return -ENOMEM;