]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
HGFS: Server packet abstraction part IX
authorVMware, Inc <>
Wed, 18 Sep 2013 03:19:54 +0000 (20:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:06:57 +0000 (22:06 -0700)
commitbb80b3337a94be4668be732967ca453ca1b97359
treeefd52c18072d20d200a2fe48e04ebfd5f9514256
parent4f860433a9a51fd978f51ed6c9fa1db167909419
HGFS: Server packet abstraction part IX

The HGFS server sets the packet's ID field as the HGFS protocol request
ID.  This should not occur and it overloads that the packet ID which
should be private to the transport channel which has nothing to do with
the HGFS request ID.  The HGFS request ID has it's own field in the HGFS
header used by the request and reply.

Remove the HGFS server modifying the packet ID.  This is currently safe,
as the clients do not receive any asynchronous replies from any HGFS
server where the packet ID in the reply is used.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/hgfsServer/hgfsServer.c