[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190904185329.GL26826@stefanha-x1.localdomain>
Date: Wed, 4 Sep 2019 19:53:29 +0100
From: Stefan Hajnoczi <stefanha@...hat.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: linux-kernel@...r.kernel.org, Miklos Szeredi <miklos@...redi.hu>,
linux-fsdevel@...r.kernel.org, dgilbert@...hat.com
Subject: Re: [PATCH] fuse: reserve byteswapped init opcodes
On Wed, Sep 04, 2019 at 08:36:33AM -0400, Michael S. Tsirkin wrote:
> virtio fs tunnels fuse over a virtio channel. One issue is two sides
> might be speaking different endian-ness. To detects this,
> host side looks at the opcode value in the FUSE_INIT command.
> Works fine at the moment but might fail if a future version
> of fuse will use such an opcode for initialization.
> Let's reserve this opcode so we remember and don't do this.
>
> Same for CUSE_INIT.
>
> Signed-off-by: Michael S. Tsirkin <mst@...hat.com>
> ---
> include/uapi/linux/fuse.h | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists