]> git.proxmox.com Git - mirror_qemu.git/commit
nbd: Drop unexpected data for NBD_OPT_LIST
authorMax Reitz <mreitz@redhat.com>
Wed, 25 Feb 2015 18:08:34 +0000 (13:08 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Mar 2015 11:07:16 +0000 (12:07 +0100)
commit0379f474ddebfc69f42fa8231d86687cf29d997b
tree5cd0202229ad133d32add23d1100443514738c19
parent48c7d80de8863e3436b3b5d5676018b2afaec161
nbd: Drop unexpected data for NBD_OPT_LIST

When requesting the list of exports, no data should be sent. If data is
sent, the NBD server should not just inform the client of the invalid
request, but also drop the data.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <1424887718-10800-22-git-send-email-mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd.c