summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-02-03 11:08:51 -0500
committerDavid S. Miller <davem@davemloft.net>2019-08-15 12:04:24 -0700
commit356feaad4f7d153ae429f2c7f7900b589dca6801 (patch)
treed1e97d9a9b131a49e88e1e6a6d571492afbf52ea /net
parent65dedd7fe1f224e9989181d161e23f0a544d304f (diff)
downloadlinux-356feaad4f7d153ae429f2c7f7900b589dca6801.tar.bz2
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>
Diffstat (limited to 'net')
-rw-r--r--net/rds/af_rds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/af_rds.c b/net/rds/af_rds.c
index e7b082ac60fd..2977137c28eb 100644
--- a/net/rds/af_rds.c
+++ b/net/rds/af_rds.c
@@ -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;