Commit c818aa88 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by David S. Miller

Revert "vhost: make msg padding explicit"

This reverts commit 93c0d549c4c5a7382ad70de6b86610b7aae57406.

Unfortunately the padding will break 32 bit userspace.
Ouch. Need to add some compat code, revert for now.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50a5852a
...@@ -68,7 +68,6 @@ struct vhost_iotlb_msg { ...@@ -68,7 +68,6 @@ struct vhost_iotlb_msg {
struct vhost_msg { struct vhost_msg {
int type; int type;
int padding0;
union { union {
struct vhost_iotlb_msg iotlb; struct vhost_iotlb_msg iotlb;
__u8 padding[64]; __u8 padding[64];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment