Message ID | 1497979654-27251-2-git-send-email-marcelo.cerri@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 736ac76d2a6a..5f91e6b8eb01 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c @@ -220,6 +220,8 @@ int vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size, get_order(send_ringbuffer_size + recv_ringbuffer_size)); error_set_chnstate: newchannel->state = CHANNEL_OPEN_STATE; + newchannel->onchannel_callback = NULL; + newchannel->channel_callback_context = NULL; return err; } EXPORT_SYMBOL_GPL(vmbus_open);