Skip to content

Commit 356feaa

Browse files
chrismason-xxdavem330
authored andcommitted
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]>
1 parent 65dedd7 commit 356feaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/rds/af_rds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ static int rds_create(struct net *net, struct socket *sock, int protocol,
705705
if (sock->type != SOCK_SEQPACKET || protocol)
706706
return -ESOCKTNOSUPPORT;
707707

708-
sk = sk_alloc(net, AF_RDS, GFP_ATOMIC, &rds_proto, kern);
708+
sk = sk_alloc(net, AF_RDS, GFP_KERNEL, &rds_proto, kern);
709709
if (!sk)
710710
return -ENOMEM;
711711

0 commit comments

Comments
 (0)