diff options
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/rdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/rdma.c b/net/rds/rdma.c index 75fd13bb631b..39989678c2d2 100644 --- a/net/rds/rdma.c +++ b/net/rds/rdma.c | |||
@@ -474,7 +474,7 @@ static struct rds_rdma_op *rds_rdma_prepare(struct rds_sock *rs, | |||
474 | goto out; | 474 | goto out; |
475 | } | 475 | } |
476 | 476 | ||
477 | if (args->nr_local > (u64)UINT_MAX) { | 477 | if (args->nr_local > UIO_MAXIOV) { |
478 | ret = -EMSGSIZE; | 478 | ret = -EMSGSIZE; |
479 | goto out; | 479 | goto out; |
480 | } | 480 | } |