aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_kvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hv/hv_kvp.c')
-rw-r--r--drivers/hv/hv_kvp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
index 09988b289622..ea852537307e 100644
--- a/drivers/hv/hv_kvp.c
+++ b/drivers/hv/hv_kvp.c
@@ -113,7 +113,7 @@ kvp_register(int reg_value)
113 kvp_msg->kvp_hdr.operation = reg_value; 113 kvp_msg->kvp_hdr.operation = reg_value;
114 strcpy(version, HV_DRV_VERSION); 114 strcpy(version, HV_DRV_VERSION);
115 msg->len = sizeof(struct hv_kvp_msg); 115 msg->len = sizeof(struct hv_kvp_msg);
116 cn_netlink_send(msg, 0, GFP_ATOMIC); 116 cn_netlink_send(msg, 0, 0, GFP_ATOMIC);
117 kfree(msg); 117 kfree(msg);
118 } 118 }
119} 119}
@@ -435,7 +435,7 @@ kvp_send_key(struct work_struct *dummy)
435 } 435 }
436 436
437 msg->len = sizeof(struct hv_kvp_msg); 437 msg->len = sizeof(struct hv_kvp_msg);
438 cn_netlink_send(msg, 0, GFP_ATOMIC); 438 cn_netlink_send(msg, 0, 0, GFP_ATOMIC);
439 kfree(msg); 439 kfree(msg);
440 440
441 return; 441 return;