lkml.org 
[lkml]   [2011]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.6.33.11
diff --git a/Makefile b/Makefile
index 7829a92..20107ca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 33
-EXTRAVERSION = .10
+EXTRAVERSION = .11
NAME = Man-Eating Seals of Antiquity

# *DOCUMENTATION*
diff --git a/net/rds/rdma.c b/net/rds/rdma.c
index 4810a25..1fa0f4b 100644
--- a/net/rds/rdma.c
+++ b/net/rds/rdma.c
@@ -497,14 +497,6 @@ static struct rds_rdma_op *rds_rdma_prepare(struct rds_sock *rs,

max_pages = max(nr, max_pages);
nr_pages += nr;
-
- /*
- * nr_pages for one entry is limited to (UINT_MAX>>PAGE_SHIFT)+1,
- * so tot_pages cannot overflow without first going negative.
- */
- if ((int)nr_pages < 0)
- ret = -EINVAL;
- goto out;
}

pages = kcalloc(max_pages, sizeof(struct page *), GFP_KERNEL);

\
 
 \ /
  Last update: 2011-04-15 23:39    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site