diff options
| author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-11-28 04:53:36 +0000 |
|---|---|---|
| committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-11-28 04:53:36 +0000 |
| commit | faaba341e529d89c60f7a19e9131220d6b61744a (patch) | |
| tree | de8612768c7f57567cfc07f40f2106b9db9b51e7 | |
| parent | 0ffc652e9e30ae3cea799ca5559e11771d14e8f2 (diff) | |
Notes
| -rw-r--r-- | sys/dev/hyperv/vmbus/vmbus_chan.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/hyperv/vmbus/vmbus_chan.c b/sys/dev/hyperv/vmbus/vmbus_chan.c index 18f83aa5dbbc..0118439ba1e5 100644 --- a/sys/dev/hyperv/vmbus/vmbus_chan.c +++ b/sys/dev/hyperv/vmbus/vmbus_chan.c @@ -503,6 +503,12 @@ vmbus_chan_gpadl_connect(struct vmbus_channel *chan, bus_addr_t paddr, uint64_t page_id; /* + * Reset GPADL, so that the result would consistent, if error + * happened later on. + */ + *gpadl0 = 0; + + /* * Preliminary checks. */ |
