提交 356feaad 编写于 作者: C Chris Mason 提交者: David S. Miller

RDS: don't use GFP_ATOMIC for sk_alloc in rds_create

Signed-off-by: NChris Mason <chris.mason@oracle.com>
Signed-off-by: NBang Nguyen <bang.nguyen@oracle.com>
Signed-off-by: NGerd Rausch <gerd.rausch@oracle.com>
Signed-off-by: NSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Acked-by: NSantosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 65dedd7f
......@@ -705,7 +705,7 @@ static int rds_create(struct net *net, struct socket *sock, int protocol,
if (sock->type != SOCK_SEQPACKET || protocol)
return -ESOCKTNOSUPPORT;
sk = sk_alloc(net, AF_RDS, GFP_ATOMIC, &rds_proto, kern);
sk = sk_alloc(net, AF_RDS, GFP_KERNEL, &rds_proto, kern);
if (!sk)
return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册