mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
Unplug before sending close() message, to avoid screwing up interfaces
which respond to close with a reopen() (e.g. iSCSI).
This commit is contained in:
@@ -38,8 +38,8 @@ void xfer_close ( struct xfer_interface *xfer, int rc ) {
|
||||
|
||||
DBGC ( xfer, "XFER %p->%p close\n", xfer, dest );
|
||||
|
||||
dest->op->close ( dest, rc );
|
||||
xfer_unplug ( xfer );
|
||||
dest->op->close ( dest, rc );
|
||||
xfer_put ( dest );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user