]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
scsi: libcxgbi: use GFP_ATOMIC in cxgbi_conn_alloc_pdu()
authorVarun Prakash <varun@chelsio.com>
Thu, 4 Jan 2018 15:34:17 +0000 (21:04 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 9 Jan 2018 02:45:48 +0000 (21:45 -0500)
commitdd04b0f3b60a0144dcddf13b62392488d91bf8f6
tree3910b310d225ff78d0a29bb1cc26473904f45f1e
parentaffc67788fe5dfffad5cda3d461db5cf2b2ff2b0
scsi: libcxgbi: use GFP_ATOMIC in cxgbi_conn_alloc_pdu()

For mgmt cmds ->alloc_pdu() can be called from atomic context so use
GFP_ATOMIC instead of GFP_KERNEL.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxgbi/libcxgbi.c