RDS: Make sure cmsgs aren't used in improper ways
authorAndy Grover <andy.grover@oracle.com>
Tue, 13 Apr 2010 19:00:35 +0000 (12:00 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:07 +0000 (18:12 -0700)
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 <andy.grover@oracle.com>
net/rds/send.c

diff --cc net/rds/send.c
Simple merge