summaryrefslogtreecommitdiffstats
path: root/nbd/common.c
diff options
context:
space:
mode:
authorEric Blake2016-04-07 00:48:38 +0200
committerPaolo Bonzini2016-04-08 00:07:44 +0200
commit156f6a10c21c3501aa3938badf5c3f1339c509a2 (patch)
tree14d55dbed56b9249a8ac23b1478795b4293ac735 /nbd/common.c
parentnbd: Fix NBD unsupported options (diff)
downloadqemu-156f6a10c21c3501aa3938badf5c3f1339c509a2.tar.gz
qemu-156f6a10c21c3501aa3938badf5c3f1339c509a2.tar.xz
qemu-156f6a10c21c3501aa3938badf5c3f1339c509a2.zip
nbd: Don't kill server when client requests unknown option
nbd-server.c currently fails to handle unsupported options properly. If during option haggling the client sends an unknown request, the server kills the connection instead of letting the client try to fall back to something older. This is precisely what advertising NBD_FLAG_FIXED_NEWSTYLE was supposed to fix. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1459982918-32229-1-git-send-email-eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'nbd/common.c')
0 files changed, 0 insertions, 0 deletions