Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 356feaad authored by Chris Mason's avatar Chris Mason Committed by David S. Miller
Browse files

RDS: don't use GFP_ATOMIC for sk_alloc in rds_create

parent 65dedd7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;