summaryrefslogtreecommitdiffstats
path: root/nbd/common.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-04-06 16:48:38 -0600
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 20:01:35 -0600
commit4194c8358c05b2b2909773128e11ceee62be2d0e (patch)
tree81f6fd64f4c089c964f2e6694626ce258781f463 /nbd/common.c
parent776f43bf2770ced40a32c7471d268e31ce83b7b0 (diff)
downloadhqemu-4194c8358c05b2b2909773128e11ceee62be2d0e.zip
hqemu-4194c8358c05b2b2909773128e11ceee62be2d0e.tar.gz
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
OpenPOWER on IntegriCloud