Skip to content
Commit 41971817 authored by Hani Benhabiles's avatar Hani Benhabiles Committed by Michael Roth
Browse files

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: default avatarHani Benhabiles <kroosec@gmail.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 27e5eae4)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 3f977a5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment