]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.bak/.git/commitdiff
patch open-iscsi-gfpkernel.patch
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Thu, 28 May 2009 10:54:20 +0000 (11:54 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Thu, 28 May 2009 10:54:20 +0000 (11:54 +0100)
drivers/scsi/scsi_transport_iscsi.c

index 731af00eab85cc16fa6f1109b97d0fa2a153bfee..0d9fa920205bf62c7139e8395022b64d0c290c8d 100644 (file)
@@ -1008,7 +1008,7 @@ int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
        if (!priv)
                return -EINVAL;
 
-       skb = alloc_skb(len, GFP_ATOMIC);
+       skb = alloc_skb(len, GFP_KERNEL); /* not called from interrupt ctxt */
        if (!skb) {
                iscsi_conn_error(conn, ISCSI_ERR_CONN_FAILED);
                iscsi_cls_conn_printk(KERN_ERR, conn, "can not deliver "