Revert "vhost: make msg padding explicit"
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 2 May 2018 14:19:05 +0000 (17:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 14:27:18 +0000 (10:27 -0400)
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: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/vhost.h

index 5a8ad064445b91731eb70c0a6419acc84cad16b9..c51f8e5cc6080c03028727cdb81343fc4cabb6e1 100644 (file)
@@ -68,7 +68,6 @@ struct vhost_iotlb_msg {
 
 struct vhost_msg {
        int type;
-       int padding0;
        union {
                struct vhost_iotlb_msg iotlb;
                __u8 padding[64];