forked from luck/tmp_suning_uos_patched
RDS: don't use GFP_ATOMIC for sk_alloc in rds_create
Signed-off-by: Chris Mason <chris.mason@oracle.com> Signed-off-by: Bang Nguyen <bang.nguyen@oracle.com> Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com> Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
65dedd7fe1
commit
356feaad4f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user