rdma: check if RDMAControlHeader::len match transferred byte
authorIsaku Yamahata <yamahata@private.email.ne.jp>
Fri, 9 Aug 2013 20:05:42 +0000 (16:05 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Aug 2013 14:31:15 +0000 (09:31 -0500)
commit88571882516a7cb4291a329c537eb79fd126e1f2
treedccb761ace0313f951a62d7ee88a547779c51014
parent6f1484edadba57f2800dc04ae3527ee4b6dac7ef
rdma: check if RDMAControlHeader::len match transferred byte

RDMAControlHeader::len is provided from remote, so check if the value
match the actual transferred byte_len.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Isaku Yamahata <yamahata@private.email.ne.jp>
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Message-id: 1376078746-24948-4-git-send-email-mrhines@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration-rdma.c