mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
RDS: don't use GFP_ATOMIC for sk_alloc in rds_create
Signed-off-by: Chris Mason <[email protected]> Signed-off-by: Bang Nguyen <[email protected]> Signed-off-by: Gerd Rausch <[email protected]> Signed-off-by: Somasundaram Krishnasamy <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
65dedd7fe1
commit
356feaad4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue