Page MenuHomeFreeBSD

D8598.diff
No OneTemporary

D8598.diff

Index: head/sys/dev/hyperv/vmbus/vmbus_chan.c
===================================================================
--- head/sys/dev/hyperv/vmbus/vmbus_chan.c
+++ head/sys/dev/hyperv/vmbus/vmbus_chan.c
@@ -792,7 +792,7 @@
vmbus_chan_printf(chan,
"can not get msg hypercall for chclose(chan%u)\n",
chan->ch_id);
- return;
+ goto disconnect;
}
req = vmbus_msghc_dataptr(mh);
@@ -806,11 +806,13 @@
vmbus_chan_printf(chan,
"chclose(chan%u) msg hypercall exec failed: %d\n",
chan->ch_id, error);
- return;
- } else if (bootverbose) {
- vmbus_chan_printf(chan, "close chan%u\n", chan->ch_id);
+ goto disconnect;
}
+ if (bootverbose)
+ vmbus_chan_printf(chan, "chan%u closed\n", chan->ch_id);
+
+disconnect:
/*
* Disconnect the TX+RX bufrings from this channel.
*/

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 6, 10:28 AM (3 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40292690
Default Alt Text
D8598.diff (814 B)

Event Timeline