netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] RDS rds_iovec fixes
@ 2010-10-29  1:40 Andy Grover
  2010-10-29  1:40 ` [PATCH 1/5] net: fix rds_iovec page count overflow Andy Grover
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Andy Grover @ 2010-10-29  1:40 UTC (permalink / raw)
  To: netdev; +Cc: rds-devel

Hi David and everyone,

This patchset includes Linus' rds_iovec overflow fix, as well as making
a copy of the rds_iovec array to prevent userspace from changing them after
we've checked them.

Please especially review patch 5. We go from 3 to 2 iovec copies, but it's not
trivial to go to one, due to some code that wants to preallocate space for SGs.
Until that code can be changed, patch 5 attempts to safely handle the scenario.

Thanks -- Regards -- Andy


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-30 23:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-29  1:40 [PATCH 0/5] RDS rds_iovec fixes Andy Grover
2010-10-29  1:40 ` [PATCH 1/5] net: fix rds_iovec page count overflow Andy Grover
2010-10-29  1:40 ` [PATCH 2/5] RDS: Return -EINVAL if rds_rdma_pages returns an error Andy Grover
2010-10-29  1:40 ` [PATCH 3/5] RDS: Clean up error handling in rds_cmsg_rdma_args Andy Grover
2010-10-29  1:40 ` [PATCH 4/5] RDS: Copy rds_iovecs into kernel memory instead of rereading from userspace Andy Grover
2010-10-29  1:40 ` [PATCH 5/5] RDS: Let rds_message_alloc_sgs() return NULL Andy Grover
2010-10-30 23:34 ` [PATCH 0/5] RDS rds_iovec fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).