]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/hv/hv_kvp.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88...
[mirror_ubuntu-bionic-kernel.git] / drivers / hv / hv_kvp.c
index d85798d5992c7d6196e3a4ae7671721583639d5b..74c38a9f34a609369fc84b9e0c5ce4a4c7de5931 100644 (file)
@@ -353,6 +353,9 @@ kvp_send_key(struct work_struct *dummy)
                return;
 
        message = kzalloc(sizeof(*message), GFP_KERNEL);
+       if (!message)
+               return;
+
        message->kvp_hdr.operation = operation;
        message->kvp_hdr.pool = pool;
        in_msg = kvp_transaction.kvp_msg;