diff options
author | Patrick McHardy <kaber@trash.net> | 2011-01-14 08:12:37 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-01-14 08:12:37 -0500 |
commit | 0134e89c7bcc9fde1da962c82a120691e185619f (patch) | |
tree | 3e03335cf001019a2687d161e956de4f73379984 /net/rds | |
parent | c7066f70d9610df0b9406cc635fc09e86136e714 (diff) | |
parent | 6faee60a4e82075853a437831768cc9e2e563e4e (diff) |
Merge branch 'master' of git://1984.lsi.us.es/net-next-2.6
Conflicts:
net/ipv4/route.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/Makefile | 8 | ||||
-rw-r--r-- | net/rds/rdma.c | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/net/rds/Makefile b/net/rds/Makefile index b46eca109688..56d3f6023ced 100644 --- a/net/rds/Makefile +++ b/net/rds/Makefile | |||
@@ -4,7 +4,7 @@ rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \ | |||
4 | loop.o page.o rdma.o | 4 | loop.o page.o rdma.o |
5 | 5 | ||
6 | obj-$(CONFIG_RDS_RDMA) += rds_rdma.o | 6 | obj-$(CONFIG_RDS_RDMA) += rds_rdma.o |
7 | rds_rdma-objs := rdma_transport.o \ | 7 | rds_rdma-y := rdma_transport.o \ |
8 | ib.o ib_cm.o ib_recv.o ib_ring.o ib_send.o ib_stats.o \ | 8 | ib.o ib_cm.o ib_recv.o ib_ring.o ib_send.o ib_stats.o \ |
9 | ib_sysctl.o ib_rdma.o \ | 9 | ib_sysctl.o ib_rdma.o \ |
10 | iw.o iw_cm.o iw_recv.o iw_ring.o iw_send.o iw_stats.o \ | 10 | iw.o iw_cm.o iw_recv.o iw_ring.o iw_send.o iw_stats.o \ |
@@ -12,10 +12,8 @@ rds_rdma-objs := rdma_transport.o \ | |||
12 | 12 | ||
13 | 13 | ||
14 | obj-$(CONFIG_RDS_TCP) += rds_tcp.o | 14 | obj-$(CONFIG_RDS_TCP) += rds_tcp.o |
15 | rds_tcp-objs := tcp.o tcp_connect.o tcp_listen.o tcp_recv.o \ | 15 | rds_tcp-y := tcp.o tcp_connect.o tcp_listen.o tcp_recv.o \ |
16 | tcp_send.o tcp_stats.o | 16 | tcp_send.o tcp_stats.o |
17 | 17 | ||
18 | ifeq ($(CONFIG_RDS_DEBUG), y) | 18 | ccflags-$(CONFIG_RDS_DEBUG) := -DDEBUG |
19 | EXTRA_CFLAGS += -DDEBUG | ||
20 | endif | ||
21 | 19 | ||
diff --git a/net/rds/rdma.c b/net/rds/rdma.c index 8920f2a83327..4e37c1cbe8b2 100644 --- a/net/rds/rdma.c +++ b/net/rds/rdma.c | |||
@@ -567,7 +567,7 @@ int rds_cmsg_rdma_args(struct rds_sock *rs, struct rds_message *rm, | |||
567 | goto out; | 567 | goto out; |
568 | } | 568 | } |
569 | 569 | ||
570 | if (args->nr_local > (u64)UINT_MAX) { | 570 | if (args->nr_local > UIO_MAXIOV) { |
571 | ret = -EMSGSIZE; | 571 | ret = -EMSGSIZE; |
572 | goto out; | 572 | goto out; |
573 | } | 573 | } |