summaryrefslogtreecommitdiffstats
path: root/nbd.c
diff options
context:
space:
mode:
authorHani Benhabiles2014-05-31 23:39:42 +0200
committerPaolo Bonzini2014-06-30 12:50:12 +0200
commit27e5eae4577316f7e86a56eb7363d4e78f79e3e5 (patch)
tree0b9cb3ee01251283aa32f48f19491240a80aafeb /nbd.c
parentnbd: Don't validate from and len in NBD_CMD_DISC. (diff)
downloadqemu-27e5eae4577316f7e86a56eb7363d4e78f79e3e5.tar.gz
qemu-27e5eae4577316f7e86a56eb7363d4e78f79e3e5.tar.xz
qemu-27e5eae4577316f7e86a56eb7363d4e78f79e3e5.zip
nbd: Shutdown socket before closing.
This forces finishing data sending to client before closing the socket like in exports listing or replying with NBD_REP_ERR_UNSUP cases. Signed-off-by: Hani Benhabiles <kroosec@gmail.com> Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions