VMCI: Fix process-to-process DRGAMs.
authorAndy King <acking@vmware.com>
Thu, 7 Mar 2013 15:29:08 +0000 (07:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 19:58:12 +0000 (12:58 -0700)
commit347e0899b1c75d907f01ac883ca38d37fe9bfa42
tree74b1b63235134845774d4f9b73952944fb271120
parent61ec7e77d724f3150338ecaa2d16d4379b7498b1
VMCI: Fix process-to-process DRGAMs.

When sending between processes, we always schedule a work item.  Our work info
struct has the message embedded in the middle, which means that we end up
overwriting subsequent fields when we copy the (variable-length) message into
it.  Move it to the end of the struct.

Acked-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Andy King <acking@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_vmci/vmci_datagram.c