From: Andy Grover Date: Tue, 13 Apr 2010 19:00:35 +0000 (-0700) Subject: RDS: Make sure cmsgs aren't used in improper ways X-Git-Tag: v2.6.37-rc1~147^2~499^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa0a4ef4ac3a3c5ffa35e32520bfbc0922ef3630;p=pandora-kernel.git RDS: Make sure cmsgs aren't used in improper ways It hasn't cropped up in the field, but this code ensures it is impossible to issue operations that pass an rdma cookie (DEST, MAP) in the same sendmsg call that's actually initiating rdma or atomic ops. Disallowing this perverse-but-technically-allowed usage makes silent RDMA heuristics slightly easier. Signed-off-by: Andy Grover --- Reading git-diff-tree failed