[rds-devel] [PATCH 0/5] RDS rds_iovec fixes

Andy Grover andy.grover at oracle.com
Thu Oct 28 18:40:54 PDT 2010


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




More information about the rds-devel mailing list